9618 Chp11 Programming Basics Quiz

9618 Chp11 Programming Basics Quiz

11th Grade

20 Qs

quiz-placeholder

Similar activities

c++ MCQS

c++ MCQS

University

20 Qs

Quiz No. 3 - JS Loops

Quiz No. 3 - JS Loops

University

20 Qs

Unit 6: Loops and Traversals Test

Unit 6: Loops and Traversals Test

10th - 12th Grade

20 Qs

CSP Loops Lists Traversals

CSP Loops Lists Traversals

10th - 12th Grade

20 Qs

Lists Code.org

Lists Code.org

10th - 12th Grade

20 Qs

AP Computer Science Principles Lists

AP Computer Science Principles Lists

9th - 12th Grade

20 Qs

Control Structure 1

Control Structure 1

12th Grade

20 Qs

Visual Basic

Visual Basic

University

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?