WorksheetsCC4K chapter 4 - quiz - inside a computer
Total questions: 92
Worksheet time: 46mins
What are the four main parts of a computer?
Input, Memory, Processor, Output
Input, Storage, Processor, Output
Input, Memory, Processor, Display
Input, Storage, Processor, Display
Who came up with the standard layout for a computer in 1945?
Alan Turing
John von Neumann
Charles Babbage
Bill Gates
What is the function of input devices in a computer?
To store data
To gather data
To process data
To output data
What does the control unit do in a computer?
Stores data
Gathers data
Loads and carries out instructions from programs
Outputs data
How does memory in a computer function?
It processes data
It stores data
It outputs data
It gathers data
What is the physical part of a computer called?
Software
Hardware
Firmware
Middleware
Which component connects pieces of hardware together inside a laptop?
Processor
Data storage
Motherboard
Network adapter
What does the arithmetic logic unit (ALU) do?
Stores data
Connects hardware components
Performs calculations
Supplies power
What does the acronym GIGO stand for in computing?
Good Input, Good Output
Garbage In, Garbage Out
Great Input, Great Output
General Input, General Output
Which of the following is NOT an output device?
Printer
Screen
Speaker
Processor
What is a base number?
A number that can be shown using only one digit.
A number that can be shown using only two digits.
A number that can be shown using only three digits.
A number that can be shown using only four digits.
In the decimal system, how many values can be shown with one digit?
2
10
100
1000
In the binary system, what are the two values that each digit can be?
0 and 2
1 and 2
0 and 1
1 and 3
In the binary system, each extra digit is worth how many times the previous digit?
10 times
5 times
3 times
2 times
What is the decimal value of the binary number 11110001?
241
128
64
32
What is the base of the hexadecimal number system?
2
8
10
16
In hexadecimal, what letter represents the decimal number 15?
A
B
E
F
How many binary digits make up a nibble?
2
4
8
16
What is the decimal equivalent of the binary number 1111?
7
10
15
16
How many bits are in a kilobit?
100
512
1024
2048
What is the smallest unit of memory in computing?
Byte
Nibble
Bit
Kilobit
How many hexadecimal digits make up a byte?
1
2
4
8
What is the hexadecimal representation of the binary number 0001?
0
1
2
F
What is the binary representation of the decimal number 10?
1010
1001
1100
1110
What is the hexadecimal representation of the decimal number 13?
A
B
C
D
What does ASCII stand for?
American Standard Code for Information Interchange
American System Code for Information Interchange
American Standard Code for Internet Interchange
American System Code for Internet Interchange
In ASCII, what is the decimal value for the character 'A'?
65
66
67
68
How is the character 'r' represented in binary according to the ASCII table?
1110010
1100101
1010101
1001101
Which programming language is mentioned as being able to convert between ASCII and binary?
Python
Java
C++
JavaScript
What is the binary representation of the decimal value 82 in ASCII?
1010010
1100101
1001101
1110010
What is the purpose of the ASCII table?
To assign a decimal number value to each character
To convert binary to hexadecimal
To store images in a computer
To encrypt data
What is Unicode used for?
To represent a limited set of characters
To represent characters in a single language
To represent characters in multiple languages
To represent only numeric values
How many characters does Unicode have?
Over 1,000 characters
Over 10,000 characters
Over 100,000 characters
Over 1,000,000 characters
What is the base of hexadecimal numbers?
2
8
10
16
Which of the following is a correct representation of the Unicode character "ë" in hexadecimal?
00EB
11100111
004D
08A2
How can Unicode be used in Python?
By typing the character directly
By using a special library
By typing a string containing a Unicode character code
By converting the character to binary
What are the four main types of logic gates mentioned in the text?
AND, OR, NOT, EXCLUSIVE OR
AND, OR, NAND, NOR
AND, XOR, NOR, XNOR
AND, OR, NAND, EXCLUSIVE OR
When does an AND gate produce an "on" output signal?
When both input signals are "on" (1 and 1)
When one input signal is "on" and the other is "off"
When both input signals are "off"
When one input signal is "off" and the other is "on"
What is another name for NOT gates?
Inverters
Converters
Switchers
Flippers
What does a NOT gate do to an input signal?
Flips it to its opposite
Keeps it the same
Turns it off
Turns it on
Who was George Boole?
An English mathematician who made logic gates possible
An American scientist who invented the computer
A French engineer who developed the first microprocessor
A German physicist who discovered electricity
What kind of maths did George Boole work out?
Boolean logic
Algebra
Calculus
Geometry
What is the output of an OR gate when both inputs are "on"?
0
1
2
-1
What is the output of an OR gate when one input is "on" and the other is "off"?
0
1
2
-1
What is the output of an OR gate when both inputs are "off"?
0
1
2
-1
What is another name for an EXCLUSIVE OR gate?
AND gate
OR gate
XOR gate
NOT gate
What is the output of an EXCLUSIVE OR gate when both inputs are "on"?
0
1
2
-1
What is the output of an EXCLUSIVE OR gate when one input is "on" and the other is "off"?
0
1
2
-1
What is the output of an EXCLUSIVE OR gate when both inputs are "off"?
0
1
2
-1
What can be created by linking an AND gate to an XOR gate?
A circuit that subtracts two binary digits
A circuit that multiplies two binary digits
A circuit that adds two binary digits
A circuit that divides two binary digits
What can be created by linking two OR gates with two NOT gates in a loop?
A circuit that stores a bit of data
A circuit that multiplies two binary digits
A circuit that adds two binary digits
A circuit that subtracts two binary digits
What is the primary function of a processor chip in a computer?
To store data for instant access
To run programs
To display graphics
To manage network connections
What material are processors typically printed on?
Plastic
Metal
Glass-like silicon
Wood
What are the small switches in processors called?
Resistors
Capacitors
Transistors
Diodes
What do processors use to understand program instructions?
High-level programming languages
Machine code
Binary code
Assembly language
What is the purpose of machine code in processors?
To create graphics
To manage network connections
To perform simple operations like adding and subtracting
To store data permanently
What is the smallest unit of data with a binary value of either 1 or 0?
Byte
Bit
Kilobyte
Megabyte
What does RAM stand for?
Read Access Memory
Random Access Memory
Rapid Access Memory
Real-time Access Memory
What is the function of a latch circuit in memory chips?
To store multiple bytes of data
To create megabytes and gigabytes of storage
To store one bit of data
To process input data
What is the purpose of an address in memory?
To store data permanently
To find data quickly
To process data
To delete data
What do programs constantly do with the data stored in memory?
Delete and update
Read, write, and update
Store and delete
Process and store
In the context of processing information, what does the processor do after receiving input data?
True
False
What is the role of an operating system (OS) in a computer?
It manages the computer's resources and controls which programs are allowed to run.
It is used to create documents and spreadsheets.
It is a type of hardware that stores data.
It is a program that only runs games.
Which of the following is NOT a function of an operating system?
Providing interfaces such as file browsers.
Managing the processor's time.
Running programs in turn.
Designing web pages.
Which of the following is an example of an operating system?
Microsoft Word
Microsoft Windows
Adobe Photoshop
Google Chrome
How does the operating system manage the processor's time?
By giving each program a slice of time to run.
By running all programs simultaneously.
By running only one program indefinitely.
By shutting down the processor when not in use.
What is the primary function of a compiler?
To execute the program line by line
To translate high-level language into machine code that can be saved and run later
To interpret the code and execute it at the same time
To link the program to the operating system
What is the main difference between a compiler and an interpreter?
A compiler translates and executes code at the same time, while an interpreter translates code that can be saved and run later
A compiler translates code that can be saved and run later, while an interpreter translates and executes code at the same time
A compiler is used for low-level languages, while an interpreter is used for high-level languages
A compiler is used for hardware, while an interpreter is used for software
Which of the following is NOT a link mentioned in the diagram?
Links to monitor
Links to keyboard
Links to speaker
Links to processor
What role does the operating system (OS) play according to the diagram?
It translates high-level language into machine code
It acts as a bridge between the programs you want to run and the computer's hardware
It executes the program line by line
It links the program to the network
What is the primary function of a computer's memory?
To store numbers and characters
To store only text files
To store various types of data including music, pictures, and videos
To store only executable files
Where can files be stored to ensure data is safe even when a computer is switched off?
On a hard-drive, memory stick, or online
Only on a hard-drive
Only on a memory stick
Only online
What is the size of 1 Kilobyte (KB)?
8 bits
1024 bits
1024 bytes
1,048,576 bytes
Which file property tells the system what type of file it is?
File name
File type extension
Opens with
Full directory path
What is the file size of 1 Terabyte (TB)?
1,073,741,824 bytes
1,099,511,627,776 bytes
1,048,576 bytes
1024 bytes
What does the file property 'opens with' indicate?
The file name
The program that can handle the file's data
The location of the file on the computer
The file size
What is the purpose of organizing files into directories on a computer system?
To make the computer run faster
To make it easier to find files
To increase storage space
To protect files from viruses
What is another name for directories?
Files
Programs
Folders
Paths
What does a directory tree resemble?
A straight line
An upside-down tree
A circle
A square
Which file manager program is used to look around the directory tree in Windows?
Finder
Nautilus
Windows Explorer
File Manager
Which file manager program is used to look around the directory tree in Apple operating systems?
Windows Explorer
Finder
Nautilus
File Manager
Which file manager program is used to look around the directory tree in Ubuntu?
Windows Explorer
Finder
Nautilus
File Manager
What is the internet described as in the document?
A collection of websites
A network of computers all across the world
A series of interconnected cables
A single large computer
What are IP addresses used for?
To identify websites
To identify computers or phones connected to the internet
To store data
To create domain names
What are packets in the context of internet communication?
Large files sent over the internet
Small chunks of data that travel between computers
Email messages
Web pages
What is the role of routers in internet communication?
To store data
To forward packets to their destination
To create IP addresses
To translate domain names
What must all internet devices follow to communicate with each other?
Domain names
Internet Protocols
IP addresses
Data packets
Before packets can be sent between devices, they have to be translated into what type of signals?
Electrical signals
Mechanical signals
Chemical signals
Thermal signals
What type of medium uses special glass fibers to transmit data as pulses of light?
Electrical signals
Light
Radio waves
Sound waves
What is the range of port numbers used for addressing individual programs on a device?
0 to 1024
0 to 65535
0 to 32767
0 to 99999
Which port number is commonly reserved for web browsers to receive packets?
21
80
443
8080
What is the combination of an IP address and a port known as?
Socket
Router
Gateway
Switch
