Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

AI Checkpoint 1 Revision

AI Checkpoint 1 Revision

9th - 12th Grade

16 Qs

NP IT Quiz ปริศนาไอที #4

NP IT Quiz ปริศนาไอที #4

9th - 12th Grade

20 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

Simdig

Simdig

12th Grade - University

10 Qs

EXA-DIAG-INF-III-AGO-2022

EXA-DIAG-INF-III-AGO-2022

11th Grade

18 Qs

Computer

Computer

12th Grade

20 Qs

Intro to Computer Programming

Intro to Computer Programming

9th - 12th Grade

14 Qs

Basic Python Coding

Basic Python Coding

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Hard

Created by

choki dorji

Used 916+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is correct way of declaring and initializing a variable, x with value 5?

int x

x=5

int x=5

x=5

declare x=5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not valid variable name in Python?

_var

var_name

var11

11var

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is False?

Variable names can be arbitrarily long.

They can contain both letters and numbers.

Variable name can begin with underscore.

Variable name can begin with number.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: print 10//3

3.5

3

1

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the operator means less than equal to ?

>

<

>=

<=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what is the correct output

PYn PYnat ive PYnativ

Yna PYnat tiv PYnativ

Yna PYnat tive PYnativ

Yna PYnat tive PYnative

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

8. If, else and elif is used for…..

Selection

Indentation

printing

iteration

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

Already have an account?