S3 Python to Arrays

S3 Python to Arrays

9th Grade

59 Qs

quiz-placeholder

Similar activities

Loops in Python

Loops in Python

9th - 12th Grade

55 Qs

CS: Python Unit 1 Review

CS: Python Unit 1 Review

9th - 12th Grade

57 Qs

Programming Concepts

Programming Concepts

9th - 12th Grade

54 Qs

Term 3 Mid-Term Quiz

Term 3 Mid-Term Quiz

6th - 12th Grade

60 Qs

CSP Technical and Academic Lang

CSP Technical and Academic Lang

9th - 12th Grade

56 Qs

AQA GCSE Algorithms

AQA GCSE Algorithms

9th - 11th Grade

60 Qs

Python Basic Loops

Python Basic Loops

9th - 12th Grade

55 Qs

S3 Python to Arrays

S3 Python to Arrays

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Martin McCormack

Used 5+ times

FREE Resource

59 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to add comments to code?

To make the code run faster

To change the functionality of the code

To improve the readability of code

To increase the number of lines of code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can happen to programs as they grow and expand?

They can become less complicated to read

They can become shorter

They can become more complicated to read

They can require fewer comments

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is it considered good practice to insert multi-line comments in a program?

At the bottom of the program

In the middle of the program

At the top of the program

Outside the program file

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should multi-line comments contain?

Only the name of the program

Only the date and description of what the program will do

The name of the program, author, date, and description of what the program will do

Random notes and reminders

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are multi-line comments started and ended in a program?

With a single quotation mark

With a hash symbol (#)

With three quotation marks

With a slash and asterisk (/* */)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to add single line comments in code?

//

/*

#

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using single line comments in code?

To change the functionality of the code

To compile the code faster

To explain certain aspects of the code

To create a new variable

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?