Python basics

Python basics

Professional Development

22 Qs

quiz-placeholder

Similar activities

C

C

Professional Development

20 Qs

From Binary To Denary Conversion - IGCSE

From Binary To Denary Conversion - IGCSE

7th Grade - Professional Development

20 Qs

machineLearning Test

machineLearning Test

Professional Development

20 Qs

Lamda kifejezések C# nyelven 1.

Lamda kifejezések C# nyelven 1.

Professional Development

17 Qs

Web Application Security Testing-PostTest

Web Application Security Testing-PostTest

Professional Development

18 Qs

Round-1 "Bhikaiji Rustom Cama – QuizTory Masters"

Round-1 "Bhikaiji Rustom Cama – QuizTory Masters"

Professional Development

20 Qs

DAA

DAA

Professional Development

20 Qs

SPARK FIDDLE

SPARK FIDDLE

Professional Development

20 Qs

Python basics

Python basics

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Kavya M

Used 100+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

input

print

output

display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number or word we give to a variable

Information

key

value

data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A box(memory location) where you store values

Data type

Data structure

Value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To display the following on screen

Hello World!

the following command should be used:

print(Hello World!)

print("Hello World!")

print("Hello World" + !)

print"(Hello World!)"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 6

print("x*y")

The code above displays the following:

11

x*y

30

Syntax Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator checks if a value is equal to another value?

=

!=

~

==

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a string?

new_var = "True"

new_var = False

new_var = "2.4"

new_var = "5+2j"

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?