Computer Science Quiz

Computer Science Quiz

Assessment

Quiz

Computers

1st Grade

Practice Problem

Hard

Created by

Zaid Sh

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What kind of programming language is Python?

An interpreted language.

A compiled language.

A interpolated language.

A manufactured language.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What built-in function should you use in Python to prompt a user for data input?

get

prompt

input

cin

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the output if you were to print the variable named value as declared by this statement: value="2" + "2"?

The number "4".

A type error, as integers cannot be concatenated.

A floating point value of 4.0.

The string "22".

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, b is an escape sequence that represents a horizontal tab.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is correct regarding non-volatile memory?

Data will be kept, even if the power is off

Considered as the main memory

RAM is an example of non-volatile memory

Known as the internal memory

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is data stored within a computer's memory?

It is stored as hexadecimal data.

It is stored as octal data.

It is stored in plain text data.

It is stored as binary data.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to change the print function to output on the same line as the previous one, without printing a newline, what expression can be added?

terminator : ="#"

endend = ""

col="

newline=0

Access all questions and much more by creating a free account

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

Already have an account?