wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Unit 1 Vocabulary Python Quiz

Total questions: 29

Worksheet time: 15mins

Name
Class
Date
1.

What is the process of using technology to solve human problems called?

a)

Information Technology

b)

Computer Science

c)

Data Analysis

d)

Software Engineering

2.

Which command is used to display text and numbers on the screen in programming?

a)

input()

b)

display()

c)

print()

d)

show()

3.

What is a program that translates written code into machine language called?

a)

Interpreter

b)

Assembler

c)

Compiler

d)

Debugger

4.

What is a computer?

a)

A device that only consists of software

b)

An electronic device consisting of hardware and software

c)

A machine that only processes numbers

d)

A tool used only for gaming

5.

What does the CPU do in a computer?

a)

Stores all the data permanently

b)

Carries out a program's instructions

c)

Provides power to the computer

d)

Connects the computer to the internet

6.

What is hardware in the context of computers?

a)

Software applications

b)

The physical machine; any part of a computer that you can touch

c)

The internet connection

d)

The operating system

7.

What is meant by input in computing?

a)

The final output displayed on the screen

b)

Information sent to the computer by the user in the form of letters, numbers, or symbols

c)

The process of saving data

d)

The software updates installed on a computer

8.

What is the characteristic of main memory in a computer?

a)

Long-term, permanent storage

b)

Short-term, temporary memory

c)

Used for calculations

d)

Stores only numbers

9.

What happens to the information in main memory when the computer is powered off?

a)

It is preserved

b)

It is transferred to secondary memory

c)

It is lost

d)

It is encrypted

10.

What is a string in Python used for?

a)

Performing calculations

b)

Storing letters, numbers, and words

c)

Managing memory

d)

Executing programs

11.

What is a program in the context of computing?

a)

A type of memory

b)

An object in Python

c)

Instructions that a computer follows, written in code

d)

A storage device

12.

What is the role of secondary memory in a computer?

a)

Short-term, temporary storage

b)

Long-term memory, preserved when powered off

c)

Used for calculations

d)

Stores only text files

13.

What is software?

a)

Programs that run on hardware.

b)

Physical components of a computer.

c)

A type of computer virus.

d)

A programming language.

14.

What are escape characters used for in programming?

a)

To create a new line, tab, print a quotation mark, or print a backslash.

b)

To delete files from a computer.

c)

To encrypt data.

d)

To compile code.

15.

What is a comment in programming?

a)

A note written in computer code for the programmer to read, which the computer ignores.

b)

A command that executes a function.

c)

A syntax error in the code.

d)

A type of data input.

16.

What is meant by output in computing?

a)

Digital information displayed or sent to the user by the computer.

b)

The process of entering data into a computer.

c)

The internal processing of data.

d)

The storage of data on a hard drive.

17.

What is a variable in computer science?

a)

A function that converts strings into integers.

b)

A name for a location in the computer's memory where information can be stored.

c)

A function that tells Python to handle the value as a string.

d)

Data measured continuously instead of discretely.

18.

What does the int() function do in Python?

a)

Converts integers into strings.

b)

Converts strings into integers.

c)

Measures data continuously.

d)

Stores information in memory.

19.

What is the purpose of the str() function in Python?

a)

To convert integers into strings.

b)

To handle the value as a string, not as a number.

c)

To measure data continuously.

d)

To store information in memory.

20.

What is an example of analog data?

a)

A function that converts strings into integers.

b)

A name for a location in memory.

c)

Volume or color.

d)

A function that handles values as strings.

21.

What is the definition of digital data?

a)

Data that can be measured continuously

b)

Data that can be measured discretely or numerically

c)

Data that is always stored in analog devices

d)

Data that cannot be stored in computing devices

22.

Which number system is based on two digits, 0 and 1?

a)

Decimal

b)

Hexadecimal

c)

Binary

d)

Octal

23.

What is the decimal number system based on?

a)

Two

b)

Eight

c)

Ten

d)

Sixteen

24.

What is an integer?

a)

A fraction

b)

A whole number, either positive or negative, including zero

c)

A decimal number

d)

A number with a fractional part

25.

What is an Integrated Development Environment (IDE)?

a)

A tool for managing databases

b)

A programming environment to write, run, and debug programs

c)

A type of operating system

d)

A hardware component for networking

26.

What is the primary function of an operating system?

a)

To design web pages

b)

To support a computer's basic functions like memory control and task scheduling

c)

To compile programming code

d)

To provide internet connectivity

27.

What does syntax refer to in programming?

a)

The speed of a computer processor

b)

The rules that define the written structure of a programming language

c)

The physical layout of a computer

d)

The process of encrypting data

28.

What is concatenation in programming?

a)

The process of debugging code

b)

The addition of two numbers

c)

The addition of two strings together

d)

The division of a string into parts

29.

What is typecasting?

a)

The process of converting a value from one data type to another.

b)

The process of compiling code into machine language.

c)

The process of debugging a program.

d)

The process of encrypting data for security.