Amethyst: Introduction to Python Quiz

Amethyst: Introduction to Python Quiz

8th Grade

11 Qs

quiz-placeholder

Similar activities

Exploring the World of Computers

Exploring the World of Computers

8th Grade

10 Qs

Understanding Parameters in Subprograms

Understanding Parameters in Subprograms

8th Grade

11 Qs

Повторение

Повторение

6th - 8th Grade

15 Qs

The Invention of the World Wide Web

The Invention of the World Wide Web

6th - 8th Grade

9 Qs

EVALUASI BIMBEL INFOR SEMESTER GENAP 2024/2025

EVALUASI BIMBEL INFOR SEMESTER GENAP 2024/2025

8th Grade

15 Qs

Python программалоо тили

Python программалоо тили

8th Grade

10 Qs

Quiz on Sentence Structures

Quiz on Sentence Structures

8th Grade

15 Qs

Amethyst: Introduction to Python Quiz

Amethyst: Introduction to Python Quiz

Assessment

Quiz

Others

8th Grade

Hard

Created by

Kevin Daniel

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of syntax in text-based programming languages?

To guide how statements and phrases are constructed

To confuse programmers

To slow down program execution

To hide errors

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are statements terminated in Python and most text-based programming languages?

With a comma

With a question mark

With a full stop

With a semi-colon

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two main types of errors in programming?

Syntax errors and Logical errors

Syntax errors and Runtime errors

Runtime errors and Logical errors

Syntax errors and Semantic errors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identifiers in Python must start with which of the following?

A special character

A number

An underscore

A space

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which errors are detected by the Python IDLE?

Runtime errors

Semantic errors

Syntax errors

Logical errors

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Differentiate between identifiers and keywords.

Identifiers are reserved words, keywords are names of entities

Identifiers are part of Python language, keywords are special words

Identifiers are names of entities, keywords are reserved words

Identifiers are special words, keywords are part of Python language

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are valid identifiers?

if, else, 2baba, road Y, #size

x, abel, road_y, _40

print, while, 69ine, road_y, _40

import, def, 2baba, road Y, #size

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?