KP1-PyBasic

KP1-PyBasic

2nd Grade

16 Qs

quiz-placeholder

Similar activities

Composer Review - Vivaldi, Bach, & Mozart

Composer Review - Vivaldi, Bach, & Mozart

1st - 4th Grade

15 Qs

Draw! Draw! Draw!

Draw! Draw! Draw!

1st Grade - University

16 Qs

KOMPAK BELGA_6

KOMPAK BELGA_6

2nd Grade

20 Qs

how well do u know adopt me? by: tOo bAd

how well do u know adopt me? by: tOo bAd

KG - Professional Development

11 Qs

Roman Power Architecture

Roman Power Architecture

KG - University

15 Qs

Mahalia Jackson

Mahalia Jackson

2nd Grade

20 Qs

QUIZ: ARTS - LANDSCAPE AND STILL LIFE DRAWING

QUIZ: ARTS - LANDSCAPE AND STILL LIFE DRAWING

2nd Grade

20 Qs

Year 7 Baseline Quiz

Year 7 Baseline Quiz

KG - University

21 Qs

KP1-PyBasic

KP1-PyBasic

Assessment

Quiz

Arts

2nd Grade

Practice Problem

Medium

Created by

MrsT Voci

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is used to define a block of code in Python?

Brackets

Indentation

Key

All the above

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

An operation that modifies a variable without making a copy is known as ....

in-place operation

mutability operation

constant time operation

static typed operation

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which one of the following is the correct extension of the Python file?

.python

None of these

.p

.py

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A data structure where the type or the class is less important than the methods it defines is known as what?

mutable

duck-typed

strongly-typed

immutable

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following characters is used for single-line comments in Python?

//

#

/*

!

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following lines represents a valid comment?

fibbonacci_code = //[1, 1, 2, 3, 5, 8]

x,y, z, number = 10, 15, 16, 21 "" More Content ""

# print('Content')

print /*('Hello World')*/

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Identify the Python docstring comment.

` First Comment `

" "Second Comment" "

" " "Third Comment" " "

// Last Comment

Access all questions and much more by creating a free account

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?