Computer Science Fundamentals Quiz

Computer Science Fundamentals Quiz

University

15 Qs

quiz-placeholder

Similar activities

computer

computer

University

20 Qs

8051 I/O Ports

8051 I/O Ports

University

10 Qs

Software Engineering Quiz 3

Software Engineering Quiz 3

University

10 Qs

Microcontroller

Microcontroller

University

10 Qs

General Knowledge on Computer Science

General Knowledge on Computer Science

University

15 Qs

Science Computer - PDT

Science Computer - PDT

University

18 Qs

microcontroller_24

microcontroller_24

University

20 Qs

Quiz Sistem Operasi

Quiz Sistem Operasi

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?