BASIC STATMENT AND BUILT-IN FUNCTION

BASIC STATMENT AND BUILT-IN FUNCTION

8th Grade

20 Qs

quiz-placeholder

Similar activities

Y7 Python Mid Point

Y7 Python Mid Point

7th - 12th Grade

15 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Y8 Python

Y8 Python

7th - 8th Grade

20 Qs

Reverse Python quiz

Reverse Python quiz

8th - 9th Grade

20 Qs

Python basics

Python basics

7th - 10th Grade

18 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Python Quiz 1

Python Quiz 1

1st - 12th Grade

18 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?