Basics Python

Basics Python

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Python Revision

Python Revision

8th Grade

15 Qs

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Data Types and Operations

Data Types and Operations

10th Grade

15 Qs

Data Types

Data Types

7th - 9th Grade

15 Qs

Final Review - Unit 1

Final Review - Unit 1

9th - 12th Grade

15 Qs

Java Data Type

Java Data Type

6th - 10th Grade

16 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

Databases Intro

Databases Intro

9th Grade

20 Qs

Basics Python

Basics Python

Assessment

Quiz

Computers

8th - 10th Grade

Hard

Created by

Elif Sulun

Used 910+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which commands might be correct? (Multiple answers)

random. random(1, 10)

print(random.random( ))

print(random. randint(1,10))

import.random(2.7)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define(assign) variables?

var="String"

func==Hello

var : 123

word= Hello

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one does take you to next line?

\t

\n

/n

\\

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Input

Output

Print

Command

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?

:

*

=

==

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would work as a piece of code?

if string="Dove"

if string=="Dove"

IF string="Dove":

if string=="Dove":

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the end after if statements?

if

Elif

Else

While

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?