CS101 Mid Term Notes by Aneela
CS101 Mid Term Notes by Aneela
25. How can you exclude a word from your Google search results? “-”
Join VU Group for More Files
https://chat.whatsapp.com/BL4ok4jnM9iJiglhAA1SG3
26. Which of the following searches should be avoided to minimize unnecessary ads? Your email
27. The abacus, one of the earliest computing devices, had its roots in which ancient civilization?
Greece and Rome
28. Who was the inventor of the first gear-driven mechanical computer that could print results to
avoid transcription errors? Charles Babbage
29. Herman Hollerith developed the concept of using punch cards to speed up the tabulation of
data for which major event? The 1890 U.S. Census
30. Which of the following is NOT true about ENIAC? It was completed in 1944
31. How much electricity did ENIAC consume during its operation? 200 KW
32. Which machine, completed in 1944, made heavy use of electronically controlled mechanical
relays? Mark I
33. The advancement from vacuum tubes to which technology marked a significant step in the
miniaturization and speed of computers? Transistors
34. In which year did IBM launch the personal computer (PC)? 1981
35. What does one bit represent in a computer? 0 or 1 value
36. The term "bit" is short for: Binary Digit
37. Which of the following can be represented using bits? Numbers, text, Audio and Video
38. How many bits are there in 1 byte? 8
39. How many bytes are there in 1 kilobyte (KB)? 1024
40. How many megabytes (MB) are equivalent to 1 gigabyte (GB)? 1024
41. How many different patterns can be represented with 3 bits? 8
42. How many different patterns can 8 bits represent? 256
43. What is the binary representation of the decimal number 2? 00000010
44. In the ASCII code, the character "A" is represented by which decimal value? 65
45. Boolean operations are named after which mathematician? George Boole
46. The AND operation produces a 1 when: Both inputs are 1
47. The OR operation produces a 1 when: Either or both inputs are 1
48. The XOR (Exclusive OR) operation produces a 1 when: Both inputs are different
49. The NOT operation produces 1 when: The input is 0
50. In Boolean logic, what does the bit 0 typically represent? False
51. In Boolean logic, what does the bit 1 represent? True
52. What is the result of the AND operation when the inputs are 1 and 0? 0
53. What is the result of the OR operation when the inputs are 0 and 0? 0
54. In Boolean operations, what is the result of the AND operation when A = 1100 and B = 1010?
1000
55. In Boolean operations, what is the result of the OR operation when A = 1100 and B = 1010?
1110
56. In Boolean operations, what is the result of the XOR operation when A = 1100 and B = 1010?
0110
57. What is the hexadecimal representation of the binary string 111010000101? E85
58. What is the purpose of main memory in a computer? To store data
59. In main memory, bits are typically organized into units of: 8 bits
60. Each cell in a computer’s main memory is identified by a unique: Address
78. How many samples per second are typically recorded for high fidelity music on CDs?
44100 samplee
79. How much data can MIDI encode for 2 seconds of sound compared to traditional
encoding methods? 3 bytes
Binary addition
1111 1
+ 1111 +1
------- ---------
11110 10
PART 2
__________ give us the ability to manipulate data through reference instead of actual value.
►Constants
►Variables
►Data Types
►Operator
Consider the following statement written in JavaScript:
str = ”Hello” + ” World”
What will be the value of str ?
►HelloWorld
►Hello World
►Hello + World
►It will result in error
A tool that helps you to find the synonyms is called ______________.
► Language
<Form> Tags always placed between the <BODY> and </BODY> tags of a Web page
► True
► False
Java script has —————– ability to create and draw graphics.
► Limited
► Versatile
► Medium
► Not at all
Cray-1 was first commercial _________ computer
► Super
► Mini
► Micro
► Personal
Browser is a __________________ used for browsing.
► Tool
► Component
► Device
► None of the given choices
It represents the _____________ flow chart element.
► Flow Line
► Connector
► Off-page connector
► Start or Stop
JavaScript is an example of _____________ language.
► Object-based
► Object-oriented
______ is simply a fast port that lets you connect computer peripherals and consumer electronics to
your computer without restart.
► Freeware
► Shareware
► Firewire
► Firmware
Which one is correct?
► <BODY></BODY>
► <body></body>
► Both <BODY></BODY> and <body></body>
► <BODY/>
The weaknesses of the computer are:
► Pattern recognition & Storage
► Speed & Innovative ideas
► Pattern recognition & Innovative ideas
► Speed & Storage
The key strengths of computers are
► Speed
► Storage
► Do not get bored
► All of the given choice
Which one is correct?
► <HEAD> </HEAD>
► <HEAD> <END>
► <HEAD> </END>
► <HEAD> <\HEAD>
Everything that JavaScript manipulates is treated as:
► Object
► Window
► Text
► Script
A process in which user’s browser check the form’s data is called
► Server-Side Scripting