[go: up one dir, main page]

0% found this document useful (0 votes)
20 views5 pages

Quiz 3

Uploaded by

yassarelghazi
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)
20 views5 pages

Quiz 3

Uploaded by

yassarelghazi
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/ 5

College Quiz: Introduction to Computer Science

Instructions:

Read each question carefully.

Choose the best answer for each multiple-choice question.

Answer all questions.

You have 30 minutes to complete the quiz.

Part 1: Computer Fundamentals

1. What is the main function of the CPU (Central Processing Unit) in a computer?

a) To store data

b) To process data

c) To display graphics

d) To manage input devices

2. Which of the following is an example of an input device?

a) Printer

b) Monitor

c) Keyboard

d) Speaker

3. The binary number system uses which two digits?


a) 0 and 1

b) 0 and 2

c) 1 and 2

d) 1 and 9

Part 2: Programming Concepts

4. In programming, which of the following is used to store a value that can be modified
during the program?

a) Variable

b) Constant

c) Function

d) Class

5. Which of the following is an example of a high-level programming language?

a) Assembly

b) Machine Code

c) Python

d) Binary

6. What does the acronym "HTML" stand for?

a) Hyper Transfer Markup Language

b) Hyper Text Markup Language


c) Hyper Text Management Language

d) High Technical Markup Language

Part 3: Algorithms and Data Structures

7. Which of the following sorting algorithms has the best average-case time complexity?

a) Bubble Sort

b) Quick Sort

c) Selection Sort

d) Insertion Sort

8. What is the main characteristic of a linked list?

a) The elements are stored in contiguous memory locations

b) The elements are arranged in a hierarchy

c) Each element points to the next element in the list

d) The list can only contain unique values

9. What is the time complexity of accessing an element in an array by index?

a) O(n)

b) O(log n)

c) O(1)

d) O(n^2)
Part 4: Operating Systems

10. Which of the following is NOT a function of an operating system?

a) Memory management

b) Hardware abstraction

c) Task scheduling

d) Direct execution of applications

11. What does the term “multitasking” refer to in an operating system?

a) Running one task at a time in parallel

b) Running multiple tasks at the same time

c) Running multiple programs on different computers

d) Running tasks without user input

Part 5: Networking and Security

12. What does the acronym "IP" stand for in networking?

a) Internet Protocol

b) Internet Pathway

c) International Protocol

d) Internal Program

13. Which of the following is a common method to protect data in computer networks?
a) Data encryption

b) Data compression

c) Data storage

d) Data printing

14. What is the primary purpose of a firewall in a computer network?

a) To store data securely

b) To manage user accounts

c) To block unauthorized access

d) To increase internet speed

You might also like