Robotic Placement Test

Robotic Placement Test

9th - 12th Grade

40 Qs

quiz-placeholder

Similar activities

Computer Science Examination Paper A - Allowed Items

Computer Science Examination Paper A - Allowed Items

12th Grade

42 Qs

Latihan Soal Informatika kelas 9

Latihan Soal Informatika kelas 9

9th Grade

35 Qs

Latihan Soal Informatika Kelas X

Latihan Soal Informatika Kelas X

10th Grade

40 Qs

Y10 revisionr

Y10 revisionr

9th Grade - University

39 Qs

Python Programmieren 1.0

Python Programmieren 1.0

10th Grade

35 Qs

Programming Constructs, Procedures and Functions

Programming Constructs, Procedures and Functions

11th Grade

36 Qs

sistem komputer kelas 12

sistem komputer kelas 12

12th Grade - University

38 Qs

Arduino

Arduino

10th Grade - University

35 Qs

Robotic Placement Test

Robotic Placement Test

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Hard

Created by

Huda Learns

Used 4+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a correct file extension for Python files?
.py
.java
.txt
.exe

Answer explanation

Python source files use the .py extension.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will the following code print? print("Hello, world!")
Hello, world!
hello, world!
Hello world
SyntaxError

Answer explanation

The print function outputs the exact string provided.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these is NOT a valid Python variable name?
student_name
2ndPlace
height_cm
_total

Answer explanation

Variable names cannot start with a digit.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct syntax to create a single-line comment in Python?
// comment
# comment
/* comment */
<!-- comment -->

Answer explanation

Python uses the # symbol for single-line comments.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which data type would the value 3.14 be in Python?
int
str
float
bool

Answer explanation

Numbers with a decimal point are floats.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of 5 ** 2 in Python?
7
10
25
32

Answer explanation

** is the exponentiation operator (5 squared = 25).

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which keyword is used to define a function in Python?
func
define
def
function

Answer explanation

Functions begin with the def keyword.

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?