CS 101-Mid-term Quiz

CS 101-Mid-term Quizes
CS 101-Mid-term Quizes



What is the main component of a computer system that you can physically touch? 
a. Hardware 
b. Software 
c. Programming 
d. Networks 
Answer: a. Hardware

Which term refers to a set of instructions that tells a computer what to do? 
a. Hardware 
b. Software 
c. Programming 
d. Networks 
Answer: b. Software

What is a set of computers connected to share resources called? 
a. Hardware 
b. Software 
c. Programming 
d. Networks 
Answer: d. Networks

Which discipline focuses on generating images with the aid of computers? 
a. Hardware 
b. Software 
c. Graphics 
d. Networks 
Answer: c. Graphics

What are the controls put in place to provide confidentiality, integrity, and availability for computer systems called? 
a. Hardware 
b. Software 
c. Security 
d. Robots
Answer: c. Security

What is a set of instructions designed to perform a specific task called? 
a. Hardware 
b. Software 
c. Algorithms 
d. Robots 
Answer: c. Algorithms

In which domain does Computer Science have applications? 
a. Telecom 
b. Banks 
c. Hospitals 
d. All of the above 
Answers: d. All of the above

Which job has been ranked as the Number 1 job in the US according to Forbes magazine? 
a. Artificial Intelligence and Machine Learning 
b. Data Science
c. Software Developer 
d. Quality Assurance Expert 
Answer: c. Software Developer

Which strategy of learning provides an abstract view of all major courses in Computer Science? 
a. Breadth First Learning 
b. Depth First Learning 
c. Sequential Learning 
d. Random Learning 
Answer: a. Breadth First Learning

Which topic covers the searching techniques on the internet using popular search engines? 
a. Search Engine Usage Techniques 
b. History of Computing 
c. Data Storage 
d. Data Manipulation 
Answer: a. Search Engine Usage Techniques

What term is used to describe the process of data manipulation in a computer system? 
a. Data Storage
b. Data Manipulation 
c. Data Processing 
d. Data Retrieval 
Answer: b. Data Manipulation

Which component of a computer system is responsible for managing and controlling all other components? 
a. Hardware 
b. Software 
c. Operating System 
d. Networks 
Answer: c. Operating System

Which programming paradigm focuses on breaking a problem into smaller, reusable components? 
a. Procedural Programming 
b. Object-Oriented Programming 
c. Functional Programming 
d. Event-Driven Programming 
Answer: b. Object-Oriented Programming

Which sorting algorithm has an average and worst-case time complexity of O(n log n)? 
a. Bubble Sort 
b. Selection Sort 
c. Insertion Sort 
d. Merge Sort 
Answer: d. Merge Sort

Which algorithm is used to find the shortest path between nodes in a graph? 
a. Depth-First Search (DFS) 
b. Breadth-First Search (BFS) 
c. Dijkstra's Algorithm 
d. Prim's Algorithm 
Answer: c. Dijkstra's Algorithm

Which layer of the OSI model is responsible for establishing and terminating connections between network devices? 
a. Physical Layer 
b. Data Link Layer 
c. Network Layer 
d. Transport Layer 
Answer: d. Transport Layer

Which type of network is used to connect devices within a limited geographic area, such as a home or office? 
a. Local Area Network (LAN) 
b. Wide Area Network (WAN)
 c. Metropolitan Area Network (MAN) 
d. Personal Area Network (PAN) 
Answer: a. Local Area Network (LAN)

Which encryption algorithm is commonly used to secure Internet communications? 
a. RSA 
b. AES 
c. DES 
d. SHA 
Answer: b. AES

Which database model organizes data into tables with rows and columns? 
a. Relational Database 
b. Hierarchical Database 
c. Network Database 
d. Object-Oriented Database 
Answer: a. Relational Database

Which cloud computing service provides virtual machines for running applications? 
a. Amazon Web Services (AWS) 
b. Microsoft Azure 
c. Google Cloud Platform (GCP) 
d. IBM Cloud 
Answer: a. Amazon Web Services (AWS)

What is the query format for weather searching on Google?
a) "Weather Location"
b) "Weather: Location"
c) "Location Weather"
d) "Location: Weather"
Answer: a) "Weather Location"

What information can you expect to see when performing a weather search on Google?
a) Sports news
b) Latest currency conversion rates
c) Weather information
d) Social media posts
Answer: c) Weather information

How can you perform calculations on Google?
a) Type the calculation in a search query
b) Use the calculator app on your phone
c) Install a special Google calculator extension
d) Call Google's calculation hotline
Answer: a) Type the calculation in a search query

What does the query "12*391" on Google display?
a) Search results for the query
b) Calculator with the result of the multiplication
c) Weather forecast for the day
d) Social media posts related to the query
Answer: b) Calculator with the result of the multiplication

How can you convert currency using Google?
a) Type the conversion query in a specific format
b) Contact your bank for currency conversion
c) Use a dedicated currency conversion website
d) Perform a regular search and find currency rates manually
Answer: a) Type the conversion query in a specific format

What is the query format for currency conversion on Google?
a) "Currency Conversion: Amount Currency1 to Currency2"
b) "Amount Currency1 to Currency2 Conversion"
c) "Currency1 to Currency2: Amount"
d) "Amount: Currency1 Currency2 Conversion"
Answer: a) "Currency Conversion: Amount Currency1 to Currency2"

What can you search for using hashtags on social media?
a) Latest news articles
b) Popular songs
c) Pages related to a specific topic
d) Weather updates
Answer: c) Pages related to a specific topic

How can you exclude specific words from your Google search?
a) Use the minus (-) symbol before the words you want to exclude
b) Contact Google support for assistance
c) Use quotation marks around the words you want to exclude
d) Type the words you want to exclude in uppercase letters
Answer: a) Use the minus (-) symbol before the words you want to exclude

What does an exact match search query on Google do?
a) Searches for pages containing all the words in the query
b) Searches for pages containing any of the words in the query
c) Searches for pages containing an exact phrase as it is
d) Searches for pages with similar content to the query
Answer: c) Searches for pages containing an exact phrase as it is

How can you perform wildcard-based searching on Google?
a) Use the asterisk (*) symbol to replace unknown words
b) Use the question mark (?) symbol to replace unknown words
c) Use the pound (#) symbol to replace unknown words
d) Use the exclamation mark (!) symbol to replace unknown words
Answer: a) Use the asterisk (*) symbol to replace unknown words


CS 101-Mid-term Quizes
CS 101-Mid-term Quizes



What does a query like "laptop pkr25000...pkr35000" search for on Google?
a) Laptops with a price range of PKR 25000 to PKR 35000
b) Laptops with a price of exactly PKR 25000 or PKR 35000
c) Laptops with a price less than PKR 25000 or greater than PKR 35000
d) Laptops with a price of exactly PKR 25000 to PKR 35000
Answer: a) Laptops with a price range of PKR 25000 to PKR 35000

How can Boolean operators be used in Google searches?
a) To combine multiple search queries
b) To exclude specific websites from the search results
c) To search within a specific range of numbers
d) To search for a specific file type
Answer: a) To combine multiple search queries

What does the query "Computer and Science" search for on Google?
a) Pages containing both the words "Computer" and "Science"
b) Pages containing either the word "Computer" or the word "Science"
c) Pages containing the exact phrase "Computer Science"
d) Pages containing any of the words "Computer" or "Science"
Answer: a) Pages containing both the words "Computer" and "Science"

What does the query "related:youtube.com" search for on Google?
a) Pages related to YouTube
b) Websites similar to YouTube
c) Social media posts about YouTube
d) YouTube videos related to a specific topic
Answer: b) Websites similar to YouTube

How can you search for a cached version of a website using Google?
a) Use the "cache:" operator followed by the website URL
b) Use the "backup:" operator followed by the website URL
c) Use the "version:" operator followed by the website URL
d) Contact the website owner for a cached version
Answer: a) Use the "cache:" operator followed by the website URL

How can you search for a specific file type using Google?
a) Use the "filetype:" operator followed by the file extension
b) Use the "type:" operator followed by the file extension
c) Use the "search:" operator followed by the file extension
d) Contact Google's support team for file type searches
Answer: a) Use the "filetype:" operator followed by the file extension

What is Module 4 about?
a) Introduction to searching tricks on Google
b) Advanced techniques for online research
c) Tips for efficient browsing on the internet
d) Understanding different search engines
Answer: a) Introduction to searching tricks on Google

Which operator can be used to search on a specific social media platform?
a) "@"
b) "#"
c) "$"
d) "%"
Answer: a) "@"

What does the query "Laptop pkr 50000" search for on Google?
a) Laptops with a price of exactly PKR 50000
b) Laptops with a price less than PKR 50000
c) Laptops with a price greater than PKR 50000
d) Laptops with a price around PKR 50000
Answer: d) Laptops with a price around PKR 50000

How can you search for an exact phrase on Google?
a) Enclose the phrase in quotation marks
b) Capitalize all the words in the phrase
c) Use the "exact:" operator before the phrase
d) Type the phrase in bold letters
Answer: a) Enclose the phrase in quotation marks

What does the query "define: serendipity" search for on Google?
a) Pages containing the word "serendipity"
b) A definition and information about "serendipity"
c) Examples of serendipitous events
d) Images related to the concept of "serendipity"
Answer: b) A definition and information about "serendipity"

How can you search for images on Google?
a) Use the "image:" operator followed by a keyword
b) Use the "photo:" operator followed by a keyword
c) Use the "picture:" operator followed by a keyword
d) Use the "search:" operator followed by a keyword
Answer: a) Use the "image:" operator followed by a keyword

What does the query "site:nytimes.com" search for on Google?
a) Pages containing the word "site" on nytimes.com
b) Articles written by the New York Times about websites
c) Pages on nytimes.com specifically
d) Social media posts related to the New York Times
Answer: c) Pages on nytimes.com specifically

How can you search for news articles on Google?
a) Use the "news:" operator followed by a keyword
b) Use the "article:" operator followed by a keyword
c) Use the "headline:" operator followed by a keyword
d) Use the "search:" operator followed by a keyword
Answer: a) Use the "news:" operator followed by a keyword

What does the query "population of France" search for on Google?
a) Information about the country of France
b) The population of France in real-time
c) Pages related to the population of France
d) Social media posts about the population of France
Answer: b) The population of France in real-time

How can you search for a specific book using Google?
a) Use the "book:" operator followed by the book title
b) Use the "author:" operator followed by the book title
c) Use the "search:" operator followed by the book title
d) Contact Google's customer support for book searches
Answer: a) Use the "book:" operator followed by the book title

What does the query "time in London" search for on Google?
a) Information about the city of London
b) The current local time in London
c) Historical events in London
d) Social media posts about London
Answer: b) The current local time in London

How can you search for movie showtimes using Google?
a) Use the "movie:" operator followed by a movie title
b) Use the "showtime:" operator followed by a movie title
c) Use the "search:" operator followed by a movie title
d) Contact a local cinema for showtime information
Answer: a) Use the "movie:" operator followed by a movie title

What does the query "weather: 90210" search for on Google?
a) Weather conditions in the area with the zip code 90210
b) Social media posts about the number 90210
c) Pages containing the word "weather" and the number 90210
d) Weather conditions in the fictional town of Beverly Hills
Answer: a) Weather conditions in the area with the zip code 90210


THE END😊