NEW
Font size
WorksheetsQuiz (Component of Computer)
Total questions: 20
Worksheet time: 10mins
Which computer component is often referred to as the "brain" of the computer?
Keyboard
Monitor
CPU (Central Processing Unit)
RAM (Random Access Memory)
What is the primary purpose of a computer's power supply unit (PSU)?
Storing data
Processing instructions
Supplying electrical power to the computer's components
Displaying images on the screen
Which of the following is an input device?
Monitor
Printer
Mouse
Speaker
Which of the following is an example of an input device?
Printer
Scanner
Speaker
Monitor
What is the function of a hard drive (HDD) in a computer?
Temporary storage of data and program code
Processing data and calculations
Long-term storage of data even when the computer is powered off
Displaying images on the screen
What is the role of the CPU (Central Processing Unit) in a computer?
Displaying graphics
Providing internet connectivity
Executing program instructions and performing calculations
Storing files and documents
What is an operating system?
A type of application software
A program that manages computer hardware and software resources
A hardware component of a computer
A tool for creating documents and spreadsheets
Which of the following is an example of system software?
Microsoft Word
Windows 10
Adobe Photoshop
Microsoft Excel
Microsoft Excel is an example of what type of software?
System software
Application software
Operating system
Browser
What is a high-level programming language primarily designed for?
Directly controlling hardware components
Writing complex, human-readable code with high-level abstractions
Handling binary data at the machine level
Managing computer memory and registers
Which of the following is an example of a high-level programming language?
Assembly language
C++
Machine code
Binary code
In the context of programming languages, what does "abstraction" refer to?
Writing code at the machine level
Hiding complex details and providing a simplified interface
Creating low-level code
Compiling code into machine code
Low-level languages are often associated with
Portability and ease of development
Being platform-independent
Direct manipulation of hardware resources
Cross-platform compatibility
Which of the following is a characteristic of high-level programming languages?
They are machine-dependent
They require extensive knowledge of computer architecture
They are easier for humans to read and write
They can be directly executed by the CPU
What is the correct order of the basic structure elements in a C++ program?
1. main function, 2. #include directives
1. #include directives, 2. main function,
1. #include directives, 2. Return 0, 3. main function,
1. #include directives, 2. main function, 3. return 0;
Which directive is used to include standard input and output stream libraries in a C++ program?
#input
#output
#include
#iostream
What is the purpose of the main function in a C++ program?
To include libraries
To declare variables
To execute the program's main logic
To print output
In C++, what punctuation is used to indicate the end of a statement?
Period (.)
Semicolon (;)
Comma (,)
Exclamation mark (!)
Which of the following is a correct way to comment a single line in C++?
// This is a comment
/* This is a comment */
** This is a comment **
-- This is a comment --
Computer is an?
Electronic device
Analog device
Storage Device
None
