BASIC STATMENT AND BUILT-IN FUNCTION

BASIC STATMENT AND BUILT-IN FUNCTION

8th Grade

20 Qs

quiz-placeholder

Similar activities

Python

Python

8th Grade

20 Qs

Conditions

Conditions

8th - 10th Grade

16 Qs

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

Computer Hardware -  Input&Output Devices for Situations

Computer Hardware - Input&Output Devices for Situations

1st - 12th Grade

20 Qs

Quiz1_7C

Quiz1_7C

3rd Grade - University

15 Qs

Introduction to Python programming

Introduction to Python programming

6th - 8th Grade

20 Qs

Python-қарапайым тапсырмалар

Python-қарапайым тапсырмалар

6th - 8th Grade

20 Qs

python_1

python_1

5th - 12th Grade

22 Qs

BASIC STATMENT AND BUILT-IN FUNCTION

BASIC STATMENT AND BUILT-IN FUNCTION

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Nnamdi Uche

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an assignment statement in programming?
Print output to the screen
Assign a value to a variable
Receive input from the user
Perform arithmetic calculations

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of basic statement allows the program to execute a block of code only if a specified condition is true?
Assignment statement
Function statement
Conditional statement
Loop statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'input()' function in programming?
Assign a value to a variable
Perform arithmetic calculations
Print output to the screen
Receive input from the user

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which built-in function allows the program to receive input from the user?
write()
print()
input()
read()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of basic statement is used to execute a block of code repeatedly as long as a specified condition is true?
Loop statement
Conditional statement
Assignment statement
Function statement

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which built-in function is used to write output to the screen?
input()
read()
write()
print()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the statement 'x = 5', what is '5'?
A value
A function
A loop
A variable

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?