KP1-PyBasic

KP1-PyBasic

2nd Grade

16 Qs

quiz-placeholder

Similar activities

Disney

Disney

KG - Professional Development

18 Qs

20.000 lieues sous les mers Quiz N°2

20.000 lieues sous les mers Quiz N°2

1st - 5th Grade

20 Qs

Quiz 2STHR

Quiz 2STHR

2nd - 9th Grade

12 Qs

Couleurs et images

Couleurs et images

KG - Professional Development

12 Qs

La narration dans l'antiquité

La narration dans l'antiquité

1st - 12th Grade

11 Qs

Quizz – Culture urbaine

Quizz – Culture urbaine

1st - 3rd Grade

12 Qs

QUESTIONS EN FRANÇAIS!

QUESTIONS EN FRANÇAIS!

1st - 12th Grade

20 Qs

Révision 6ème verbes réguliers

Révision 6ème verbes réguliers

1st - 4th Grade

15 Qs

KP1-PyBasic

KP1-PyBasic

Assessment

Quiz

Arts

2nd Grade

Medium

Created by

MrsT Voci

Used 3+ times

FREE Resource

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

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?