Python for Beginners

Python for Beginners

1st Grade - Professional Development

10 Qs

quiz-placeholder

Similar activities

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

python

python

7th Grade

10 Qs

Python

Python

7th Grade

10 Qs

Python Basics

Python Basics

6th - 7th Grade

15 Qs

Quiz Week 6

Quiz Week 6

10th Grade

10 Qs

Python Variables

Python Variables

6th Grade

10 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

Python for Beginners

Python for Beginners

Assessment

Quiz

Computers, Mathematics, Science

1st Grade - Professional Development

Hard

Created by

NURFADHLINA /FSKTM

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display numbers and text on the screen?

print

input

output

command

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = 'Python'

print (name)

'Python'

Python

python

'python'

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct syntax for Python

IF answer == "Yes":

if answer == "Yes"

if answer == "Yes":

if answer == "yes"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why would you use a loop?

To input data

To print data

To repeat a piece of code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mathematical operations can be performed on a string

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this expression, 3*1**3

3

9

27

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you assign an integer to a variable?

new_var == 4

new_var = 4

new_var = "4"

new_var "4"

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?