9618 Chp11 Programming Basics Quiz

9618 Chp11 Programming Basics Quiz

11th Grade

20 Qs

quiz-placeholder

Similar activities

Computer Science

Computer Science

9th - 12th Grade

18 Qs

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

Python while loops

Python while loops

12th Grade

20 Qs

Visual Basic

Visual Basic

University

15 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

oop with c++

oop with c++

University

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Quiz 120.4A - Control structures in pseudocode

Quiz 120.4A - Control structures in pseudocode

11th Grade

15 Qs

9618 Chp11 Programming Basics Quiz

9618 Chp11 Programming Basics Quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Valerie Quaye

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a constant in programming?

A value that can change during execution

A named value that cannot change during execution

A set of statements that can be called multiple times

A routine available in the development system

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about variables?

They cannot be declared before use

They are always constants

They can change during the execution of a program

They do not require a value to be assigned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a function do in programming?

It is the same as a procedure

It is a set of statements that cannot be reused

It always returns a value

It cannot be called multiple times

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a library routine?

To write pseudocode

To provide tested and ready-to-use routines

To create new programming languages

To declare variables and constants

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to check if a radius is positive in Python?

Do While radius > 0

Check radius > 0

while radius <= 0:

if radius > 0:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about loops?

They are only used for input validation

They cannot be nested

They can only be count-controlled

They allow sections of code to be repeated

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter in programming?

A type of loop

A method of passing a value to a procedure

A variable that cannot be changed

A constant value

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?