Computer Science Fundamentals Quiz

Computer Science Fundamentals Quiz

University

15 Qs

quiz-placeholder

Similar activities

quiz 2

quiz 2

University

10 Qs

Connective Tissue

Connective Tissue

University

14 Qs

Ch1: Measurement, Estimating

Ch1: Measurement, Estimating

University

16 Qs

Biotechnology in yeast-based products

Biotechnology in yeast-based products

University

12 Qs

MYCOBACTERIUM 2

MYCOBACTERIUM 2

University

10 Qs

Acids and bases are all around

Acids and bases are all around

University

14 Qs

Fotosintesis, Respirasi, dan Transportasi

Fotosintesis, Respirasi, dan Transportasi

University - Professional Development

20 Qs

Understanding Wildfires

Understanding Wildfires

University

10 Qs

Computer Science Fundamentals Quiz

Computer Science Fundamentals Quiz

Assessment

Quiz

Science

University

Practice Problem

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?