Basics Python

Basics Python

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

C++ Quiz 2

C++ Quiz 2

8th Grade

15 Qs

Basic Programming

Basic Programming

9th Grade

20 Qs

GCSE Computer Science - Python Programming Concepts

GCSE Computer Science - Python Programming Concepts

9th - 11th Grade

17 Qs

Program Development - Python: Code Basics 1

Program Development - Python: Code Basics 1

8th - 10th Grade

16 Qs

Data type

Data type

10th Grade - University

17 Qs

GCSE Computer Science Data types

GCSE Computer Science Data types

10th - 12th Grade

18 Qs

Key Python Data Types

Key Python Data Types

9th Grade

16 Qs

RWMS Coding Basics Semester Exam Review

RWMS Coding Basics Semester Exam Review

7th - 8th Grade

20 Qs

Basics Python

Basics Python

Assessment

Quiz

Computers

8th - 10th Grade

Hard

Created by

Elif Sulun

Used 916+ 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?