CH4 - Python

CH4 - Python

9th - 12th Grade

45 Qs

quiz-placeholder

Similar activities

Python Programming Quiz

Python Programming Quiz

9th Grade

46 Qs

KS2 Computing Quiz

KS2 Computing Quiz

3rd - 10th Grade

40 Qs

Python Strings and Lists

Python Strings and Lists

11th - 12th Grade

43 Qs

Komputer Akuntansi XII AK1

Komputer Akuntansi XII AK1

KG - 12th Grade

50 Qs

GCSE Computer Science [Component 1]

GCSE Computer Science [Component 1]

9th Grade

46 Qs

Web Design Preassessment

Web Design Preassessment

12th Grade

40 Qs

Database (MS. Access)

Database (MS. Access)

10th Grade

40 Qs

រំឮកមេរៀនPython

រំឮកមេរៀនPython

11th Grade

45 Qs

CH4 - Python

CH4 - Python

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Klea h

Used 4+ times

FREE Resource

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

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?