Basics Python

Basics Python

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

Dữ liệu trong pascal

Dữ liệu trong pascal

8th Grade

22 Qs

Unit Test 1 Class 8 Computer

Unit Test 1 Class 8 Computer

8th - 9th Grade

20 Qs

Sistem Komputer

Sistem Komputer

10th Grade

15 Qs

Q1 M3 PRE-TEST

Q1 M3 PRE-TEST

10th Grade

20 Qs

M1_Final_Quiz1_2017

M1_Final_Quiz1_2017

7th - 8th Grade

20 Qs

BÀI 24-25 TIN 10

BÀI 24-25 TIN 10

10th Grade

20 Qs

PRETEST TIK KELAS 8

PRETEST TIK KELAS 8

8th Grade

20 Qs

CSS Acronyms

CSS Acronyms

9th - 10th Grade

20 Qs

Basics Python

Basics Python

Assessment

Quiz

Computers

8th - 10th Grade

Hard

Created by

Elif Sulun

Used 919+ 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers