....

....

1st - 5th Grade

15 Qs

quiz-placeholder

Similar activities

Modals of Obligation/Prohibition/Advice

Modals of Obligation/Prohibition/Advice

5th Grade - University

12 Qs

Simple past tense, affirmative, negative and interrogative.

Simple past tense, affirmative, negative and interrogative.

4th Grade

10 Qs

Mastering Input-Output Tables: Multi-Step Problem Solving

Mastering Input-Output Tables: Multi-Step Problem Solving

4th Grade - University

10 Qs

Fun with Functions: Solve Input-Output Problems!

Fun with Functions: Solve Input-Output Problems!

5th Grade - University

10 Qs

Computer devices

Computer devices

5th Grade

16 Qs

Explore Input/Output Tables with Fun Math Problems!

Explore Input/Output Tables with Fun Math Problems!

2nd Grade - University

10 Qs

Demonstrative and Interrogative Pronouns

Demonstrative and Interrogative Pronouns

5th Grade

10 Qs

Software and Hardware

Software and Hardware

3rd - 4th Grade

11 Qs

....

....

Assessment

Quiz

English

1st - 5th Grade

Easy

Created by

Bích Đỗ

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the ouput of this command:
Print ("Hello world! ")

Hello world!

hello World!

no output (error)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is a case-sensitive programing language

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following lines of command, what is/are the variables:

num 1 = int(input("Enter the first number:"))

num 2 = int(input("Enter the second number: "))

total = num 1+ num 2

print ("The total of the two numbers is ; " , total)

num 1

num 1, num 2

num 1, num 2 and total

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following blocks for commands, what is the varriable type of total?
num 1 = int(input("Enter the first number:"))

num 2 = int(input("Enter the second number: "))

total = num 1+ num 2

print ("The total of the two numbers is ; " , total)

float

integer

character

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following lines of command what will the expected output is the user entered 3 and 5 consecutively:

num 1 = int(input("Enter the first number:"))

num 2 = int(input("Enter the second number: "))

total = num 1+ num 2

print ("The total of the two numbers is ; " , total)

8

error, Total is not recognize

15

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following program, what is expected output if the user enters Smith for last name and John for the first name?

last name = input ("Enter your last name: ")

first name = input("Enter your first name: ")

print ("Hello", first name , last name)

Hello Smith John

Hello John Smith

Error message

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The program displays the name and of the user, what is the missing line of command?

name = input ("Enter your name: ")

print ("Hello" , name , "you are" , age , "year old")

yourage = int(input('Enter your age:')

age = input ('Enter your age: ')

age = int(input('Enter your age: ')

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?