Basic Programming

Basic Programming

8th Grade

•

33 Qs

quiz-placeholder

Similar activities

Bin O - Y8 (Remember to answer correctly, not fast)

Bin O - Y8 (Remember to answer correctly, not fast)

3rd - 10th Grade

•

30 Qs

ÔN TẬP GIỮA HKI (1) - Tin 8

ÔN TẬP GIỮA HKI (1) - Tin 8

8th Grade

•

30 Qs

MYE Revision 7 & 8

MYE Revision 7 & 8

7th - 8th Grade

•

35 Qs

OCR GCSE 1.5 Systems Software MCQs

OCR GCSE 1.5 Systems Software MCQs

8th - 10th Grade

•

34 Qs

Microsoft Word

Microsoft Word

1st - 12th Grade

•

31 Qs

计算机基础练习1

计算机基础练习1

7th - 8th Grade

•

32 Qs

Social Media Strategy

Social Media Strategy

8th Grade

•

29 Qs

AZ-900 Module 5

AZ-900 Module 5

KG - University

•

28 Qs

Basic Programming

Basic Programming

Assessment

Quiz

•

Computers

•

8th Grade

•

Practice Problem

•

Hard

Created by

Dalton Hughes

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of print("The number is: "); num = 7; print(num)?

The number is: followed by 7 on the next line
7.0
The number is: 7
An error would occur

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type does the variable value = "1234" return?

String
Integer
Float
Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid Python keyword?

output
import
input
print

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of num1 = 8; num1 = 2; print(num1 + 10)?

12

8

10

18

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does def say_hello(): print("Hello, World!") do?

Displays nothing unless the function is called
Prints Hello, World! when run
Displays an error because the function was not called
Prints say_hello

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to display output to the user?

print()
output()
display()
show()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to convert a float into an integer?

int()
float()
str()
bool()

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?