CH4 - Python

CH4 - Python

9th - 12th Grade

45 Qs

quiz-placeholder

Similar activities

Y9 Programming Test

Y9 Programming Test

9th Grade

40 Qs

Python Unit 11 - Collections: Dictionary, List, Set, Tuple

Python Unit 11 - Collections: Dictionary, List, Set, Tuple

6th - 12th Grade

40 Qs

T1 Diagnostic 01.09.2024

T1 Diagnostic 01.09.2024

12th Grade

40 Qs

Semester Final 2025

Semester Final 2025

10th Grade - University

40 Qs

Python - Lists, Dictionaries and Loops

Python - Lists, Dictionaries and Loops

9th - 12th Grade

40 Qs

PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

9th - 12th Grade

46 Qs

PYTHON-STRINGS

PYTHON-STRINGS

12th Grade

50 Qs

Midterm prep 7th

Midterm prep 7th

7th Grade - University

41 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?