Search Header Logo

CH4 - Python

Authored by Klea h

Computers

9th - 12th Grade

Used 4+ times

CH4 - Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Boolean operator that means "not equal to" is

XX

!=

<>

_

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is correct?

if num1=10:

if num1==10:

if num1==10;

if num="10";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When writing an if/else statement, you

always indent the line after the condition

never indent the line after the condition

capitalize every word

put a colon at the beginning and the end

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is correct?

if num1==42:

print("You have discovered the meaning of life!")

if num1==42...

print("You have discovered the meaning of life!")

if num1==42:

print "You have discovered the meaning of life!"

if num1==42:

print( You have discovered the meaning of life!)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, repetition is another word for a:

loop

variable

function

command

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

a type of graphics

A box(memory location) where you store values

Data type

a type of memory

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dariya"

print (name)

(name)

Dariya

name

Nothing

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?