Search Header Logo

....

Authored by Bích Đỗ

English

1st - 5th Grade

Used 1+ times

....
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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: ')

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?