Computer Science Fundamentals Quiz

Computer Science Fundamentals Quiz

University

15 Qs

quiz-placeholder

Similar activities

Pre Test Mikroprosesor

Pre Test Mikroprosesor

University

20 Qs

Computer Fundamentals Quiz

Computer Fundamentals Quiz

University

19 Qs

Arsitektur Komputer Pertemuan 1

Arsitektur Komputer Pertemuan 1

University

15 Qs

Memory 3: Long-term memory

Memory 3: Long-term memory

University

13 Qs

Computer Q&A

Computer Q&A

12th Grade - Professional Development

15 Qs

Brain Anatomy

Brain Anatomy

11th Grade - University

15 Qs

Exam Paper 2 Multiple choice Vector

Exam Paper 2 Multiple choice Vector

University

15 Qs

Computer Science Fundamentals Quiz

Computer Science Fundamentals Quiz

Assessment

Quiz

Science

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?