Computer Science Fundamentals Quiz

Quiz
•
Science
•
University
•
Medium
Olga Yugay
Used 9+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main function of the Control Unit in a CPU?
To perform arithmetic operations
To store data
To direct the operation of the processor
To manage input and output devices
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List a is defined as follows:
a = [1, 2, 3, 4, 5]
Select all of the following statements that remove the middle element 3 from a so that it equals [1, 2, 4, 5]:
a[2:3] = []
a[2] = []
a[2:2] = []
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ALU stand for?
Arithmetic Logic Unit
Advanced Logic Unit
Analog Logic Unit
Arithmetic Language Unit
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of cache memory?
To store permanent data
To provide fast access to frequently used data
To manage input and output operations
To execute machine language instructions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component of a computer holds both data and instructions in a von Neumann architecture?
Input Unit
Arithmetic Logic Unit
Memory Unit
Control Unit
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List a is defined as follows:
a = ['a', 'b', 'c']
Which of the following statements adds 'd' and 'e' to the end of a, so that it then equals ['a', 'b', 'c', 'd', 'e']:
a[-1:] = ['d', 'e']
a += ['d', 'e']
a.append(['d', 'e'])
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assume x and y are assigned as follows:
x = 5
y = -5
What is the effect of this statement:
x, y = (y, x)[::-1]
The values of x and y are swapped
Both x and y are -5
The values of x and y are unchanged
Both x and y are 5
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
HBS Intro Skeletal & Muscular

Quiz
•
5th Grade - University
15 questions
IC Design session

Quiz
•
University
20 questions
Book Quiz

Quiz
•
University - Professi...
15 questions
PLC

Quiz
•
12th Grade - University
15 questions
Introduction to Arduino ( Part - I )

Quiz
•
University
18 questions
Digital Techniques - Microprocessors

Quiz
•
KG - Professional Dev...
12 questions
Eyes, Brain, Heart summative Quiz

Quiz
•
University
15 questions
Logic Puzzles

Quiz
•
11th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade