9618 Chp11 Programming Basics Quiz

Quiz
•
Computers
•
11th Grade
•
Medium
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
Similar Resources on Wayground
15 questions
coding

Quiz
•
KG - Professional Dev...
20 questions
PHP Quiz 1

Quiz
•
University
20 questions
function in python

Quiz
•
12th Grade
20 questions
JavaScript Quiz

Quiz
•
11th Grade
15 questions
ONE 6th FORM Introduction to Python Basics

Quiz
•
11th Grade
15 questions
Gateway Level 3 Python Quiz 3

Quiz
•
9th - 12th Grade
19 questions
Computer Science Quiz 02

Quiz
•
10th Grade - University
16 questions
A "C" Event-the backbone of modern coding.

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade