CH4 - Python

CH4 - Python

9th - 12th Grade

45 Qs

quiz-placeholder

Similar activities

Python For Loops

Python For Loops

10th Grade

50 Qs

SSW-NGS-G11-Exam JUN-PreTest-2023-2024

SSW-NGS-G11-Exam JUN-PreTest-2023-2024

11th Grade

40 Qs

Test

Test

12th Grade

45 Qs

Project STEM 2.1-2.2

Project STEM 2.1-2.2

9th - 12th Grade

40 Qs

Python Programming Quiz

Python Programming Quiz

9th Grade

46 Qs

Python Strings and Lists

Python Strings and Lists

11th - 12th Grade

43 Qs

Python programmin Quiz-I

Python programmin Quiz-I

12th Grade

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