0% found this document useful (0 votes)
13 views10 pages

CS101

The document contains a set of 60 multiple-choice questions (MCQs) covering various topics in computer science, including computer hardware, software, algorithms, search engines, Boolean operations, binary representation, memory and storage, data compression, search operators, and the history of computing. Each question is followed by four answer options and the correct answer is provided. The content is structured into modules, each focusing on different aspects of computer science education.

Uploaded by

aliajjutt123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views10 pages

CS101

The document contains a set of 60 multiple-choice questions (MCQs) covering various topics in computer science, including computer hardware, software, algorithms, search engines, Boolean operations, binary representation, memory and storage, data compression, search operators, and the history of computing. Each question is followed by four answer options and the correct answer is provided. The content is structured into modules, each focusing on different aspects of computer science education.

Uploaded by

aliajjutt123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

60 Possible MCQs from Modules 1-81

Module 1: Introduction to Computer Science


1. What is computer hardware?
a) Instructions for the computer
b) Physical parts of a computer
c) Software for running programs
d) Set of algorithms
Answer: b
2. What does computer software include?
a) Hardware components
b) Physical storage devices
c) Applications and operating systems
d) Networking cables
Answer: c
3. What is an algorithm?
a) A type of software
b) A computer language
c) A set of instructions to solve a task
d) A database query
Answer: c
4. Which field involves generating images using computers?
a) Networking
b) Programming
c) Graphics
d) Security
Answer: c
5. What is the primary goal of a database?
a) Process algorithms
b) Organize and retrieve information
c) Design graphics
d) Control hardware functions
Answer: b

Module 2: Breadth First Learning


6. What does Breadth First Learning focus on?
a) Deep understanding of a single topic
b) Covering basics of multiple topics
c) Learning advanced programming
d) Specializing in artificial intelligence
Answer: b
7. Which programming language is introduced in this course?
a) Python
b) Java
c) C++
d) JavaScript
Answer: c
8. What is the role of an operating system?
a) Manage algorithms
b) Process binary code
c) Control computer resources
d) Build databases
Answer: c
9. What does 'data abstraction' help with in software design?
a) Hiding complexities
b) Enhancing memory
c) Reducing algorithms
d) Drawing graphics
Answer: a
10. Which tool is introduced for database implementation?
a) Microsoft Word
b) Dreamweaver
c) Microsoft Access
d) AutoCAD
Answer: c

Module 3: Search Engines


11. What is a query in search engines?
a) A file type
b) A set of keywords for searching
c) A website URL
d) A network protocol
Answer: b
12. What does Google use to identify relevant pages?
a) Page length
b) Keywords in the query
c) Random selection
d) Website popularity
Answer: b
13. What does typing 'Flip a coin' in Google do?
a) Opens a website
b) Flips a virtual coin
c) Runs a program
d) Calculates probabilities
Answer: b
14. What does capitalization in Google queries affect?
a) Results relevance
b) Speed of results
c) It does not affect results
d) Only includes URLs
Answer: c
15. What is the shortcut for searching within a specific website?
a) site:<website>
b) inurl:<website>
c) related:<website>
d) intitle:<website>
Answer: a

Module 4: Boolean Operations


16. What does the AND operation do?
a) Outputs 1 if either input is 1
b) Outputs 1 if both inputs are 1
c) Inverts the input
d) Always outputs 1
Answer: b
17. What does the NOT operation do?
a) Flips the input
b) Produces 1 for both inputs
c) Outputs 0 for all inputs
d) Duplicates the input
Answer: a
18. What is an XOR operation?
a) Outputs 1 if inputs differ
b) Outputs 0 if inputs differ
c) Always outputs 1
d) Combines AND and NOT
Answer: a
19. What does a Boolean variable represent?
a) Only positive numbers
b) True or false values
c) Decimal numbers
d) Binary characters
Answer: b
20. Who is credited for Boolean algebra?
a) Charles Babbage
b) George Boole
c) Ada Lovelace
d) Herman Hollerith
Answer: b
Module 5: Binary Representation
21. What is a bit?
a) The smallest unit of memory
b) A software component
c) A type of hardware
d) A search query
Answer: a
22. How many bits are in one byte?
a) 4
b) 8
c) 16
d) 32
Answer: b
23. How many patterns can be formed using 2 bits?
a) 2
b) 4
c) 8
d) 16
Answer: b
24. What is the binary representation of the decimal number 2?
a) 10
b) 01
c) 11
d) 00
Answer: a
25. What does ASCII represent?
a) Images
b) Text and symbols
c) Databases
d) Audio files
Answer: b

Module 6: Hexadecimal Notation


26. How many bits does one hexadecimal digit represent?
a) 2
b) 4
c) 8
d) 16
Answer: b
27. What is the hexadecimal representation of binary 1110?
a) A
b) B
c) E
d) F
Answer: c
28. Why is hexadecimal notation used?
a) Easier for humans to read long bit patterns
b) Saves storage space
c) Faster than binary
d) Used for encryption
Answer: a
29. What is the hexadecimal equivalent of binary 1010 1111?
a) AF
b) F5
c) A1
d) 9F
Answer: a
30. What does hexadecimal F represent in decimal?
a) 15
b) 10
c) 12
d) 9
Answer: a
Module 7: Memory and Storage
31. What is the main memory in a computer called?
a) Hard disk
b) Random Access Memory (RAM)
c) CPU
d) Flash memory
Answer: b
32. What does RAM store?
a) Permanent files
b) Temporary data for active processes
c) Deleted files
d) Archived data
Answer: b
33. What type of memory is volatile?
a) RAM
b) Hard disk
c) Flash drive
d) Blu-ray disk
Answer: a
34. Which device uses spinning disks to store data?
a) Solid-State Drives (SSDs)
b) Optical disks
c) Magnetic storage
d) RAM
Answer: c
35. Which type of storage is best for archival purposes?
a) RAM
b) Magnetic tapes
c) Cache memory
d) DRAM
Answer: b

Module 8: Data Compression


36. What is the primary feature of lossless compression?
a) No data is lost
b) Data is faster to retrieve
c) Data is encrypted
d) Data is reduced permanently
Answer: a
37. Which compression method uses repeated sequences to save space?
a) Differential encoding
b) Run-length encoding
c) Huffman encoding
d) Adaptive encoding
Answer: b
38. What does lossy compression allow?
a) Perfect data recovery
b) Minor loss of data for higher compression
c) Faster decompression
d) Secure file transfer
Answer: b
39. What is a popular example of adaptive dictionary encoding?
a) Huffman encoding
b) Lempel-Ziv-Welsh (LZW) encoding
c) Run-length encoding
d) Differential encoding
Answer: b
40. Which field commonly uses lossy compression?
a) Software development
b) Image and audio storage
c) Database management
d) Operating systems
Answer: b

Module 9: Search Operators


41. What does the site: operator do in Google?
a) Filters results by region
b) Searches within a specific website
c) Highlights advertisements
d) Excludes irrelevant pages
Answer: b
42. What operator is used to find similar websites?
a) related:
b) site:
c) intitle:
d) inurl:
Answer: a
43. How can you exclude a word from search results?
a) Use “@”
b) Add - before the word
c) Use quotation marks
d) Add a # before the word
Answer: b
44. Which operator searches for exact phrases?
a) site:
b) related:
c) Quotation marks (" ")
d) intitle:
Answer: c
45. How do you search for PDF files on Google?
a) Use filetype:pdf
b) Use intitle:pdf
c) Use inurl:pdf
d) Use ext:txt
Answer: a

Module 10: History of Computing


46. What was the first computing device?
a) ENIAC
b) Abacus
c) Mark I
d) Punch card machine
Answer: b
47. Who designed the first gear-driven mechanical calculator?
a) Charles Babbage
b) Blaise Pascal
c) Howard Aiken
d) Herman Hollerith
Answer: b
48. What was the primary use of punch cards?
a) Storing programs
b) Tabulating data
c) Running calculations
d) Designing graphics
Answer: b
49. Which invention marked the beginning of fully electronic computers?
a) Transistors
b) Vacuum tubes
c) Integrated circuits
d) Magnetic storage
Answer: b
50. What was ENIAC's approximate weight?
a) 5 tons
b) 10 tons
c) 30 tons
d) 50 tons
Answer: c
Module 11: Binary Operations and Boolean Logic
51. What does the XOR operation output when inputs are the same?
a) 1
b) 0
c) Same as AND
d) Same as OR
Answer: b
52. What is the main characteristic of 2’s complement notation?
a) It represents only positive numbers
b) It simplifies addition and subtraction operations
c) It requires floating-point notation
d) It does not use a sign bit
Answer: b
53. How is a negative number represented in 2’s complement?
a) Add 1 to the binary representation
b) Complement all bits and add 1
c) Reverse the binary representation
d) Append a zero at the end
Answer: b
54. What is the purpose of excess notation?
a) Store integers more efficiently
b) Avoid overflow errors
c) Represent positive and negative integers using fixed bit patterns
d) Store floating-point numbers
Answer: c
55. Which of the following causes overflow in 2’s complement?
a) Addition exceeding the bit limit
b) Subtraction below the bit limit
c) Multiplication by 1
d) Division by 2
Answer: a

Module 12: Representing Images and Sound


56. What is a pixel?
a) A hardware component
b) The smallest unit of an image
c) A sound amplitude
d) A compression method
Answer: b
57. Which encoding method is used for colorful images?
a) Grayscale encoding
b) ASCII encoding
c) RGB encoding
d) Boolean encoding
Answer: c
58. How is sound encoded in a digital system?
a) By using characters
b) By sampling amplitude at regular intervals
c) By storing RGB values
d) By frequency compression
Answer: b
59. What is the standard sampling rate for CD-quality sound?
a) 8,000 samples per second
b) 22,050 samples per second
c) 44,100 samples per second
d) 96,000 samples per second
Answer: c
60. What is MIDI primarily used for?
a) Storing high-definition audio
b) Encoding directions for producing music
c) Compressing sound files
d) Streaming live music
Answer: b

You might also like