Python KP 1-2

Python KP 1-2

12th Grade

120 Qs

quiz-placeholder

Similar activities

Year 12 General AIT 2023 Week 6 term 1

Year 12 General AIT 2023 Week 6 term 1

12th Grade

125 Qs

Untitled Quiz

Untitled Quiz

12th Grade

117 Qs

python125

python125

12th Grade

125 Qs

Database Management Worksheet Questions

Database Management Worksheet Questions

12th Grade

115 Qs

M2 R5 Chapter 6

M2 R5 Chapter 6

12th Grade

125 Qs

AM v2

AM v2

9th - 12th Grade

118 Qs

Modul 2: Sử dụng máy tính cơ bản

Modul 2: Sử dụng máy tính cơ bản

12th Grade

125 Qs

Q3 Study Guide

Q3 Study Guide

9th - 12th Grade

125 Qs

Python KP 1-2

Python KP 1-2

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

J Gabe

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

120 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the special symbol used in python to add comments?

/*...*/

#

//

$

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Please select the valid single line comment in Python.

# comment

"comment"

'comment'

/* comment */

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements are true?

A compiler scans the entire source code file and translates the whole of it into machine code at once

Compiled code tends to execute faster than interpreted code

An interpreter translates one statement of the source code at a time into machine code

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A data structure that can't be changed after its creation is known as _____?

immutable

mutable

duck-typed

strongly-typed

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to output the string "Hello" in Python?

System.out("Hello")

printf("Hello")

print("Hello")

echo("Hello")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

.p

.pyt

.python

.py

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Identify the Python docstring comment.

Comment 1

Comment 2

Comment 3

Comment 4

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?