module 3 comsci

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

Iterative Statements

Programming constructs that allow a set of instructions to be executed repeatedly based on a condition.

2
New cards

Algorithm

A step-by-step procedure for solving a problem or accomplishing a task.

3
New cards

Counter

A variable used to count occurrences or iterations in a program.

4
New cards

Decrement

To decrease the value of a variable, often used in loops to control iterations.

5
New cards

Input

Data provided by the user to a program during execution.

6
New cards

Output

The data produced by a program after processing input.

7
New cards

Random Number Generation

The process of producing a sequence of numbers that cannot be reasonably predicted better than by random chance.

8
New cards

Guess and Check Method

A problem-solving technique involving making an educated guess and refining it based on feedback.

9
New cards

Square Root

A value that, when multiplied by itself, gives the original number.

10
New cards

Hollow Square

A square pattern where only the borders are filled, and the inside remains empty.

11
New cards

Filled Up Square

A square pattern where all positions within the square are filled uniformly.

12
New cards

Python

An interpreted, high-level programming language known for its readability and simplicity.

13
New cards

If-Else Statement

A conditional statement that performs different actions based on whether a specified condition is true or false.

14
New cards

Loop

A programming construct that allows for the repeated execution of a block of code.

15
New cards

Print Statement

A command used to display output to the console or standard output device.

16
New cards

While Loop

A loop that repeatedly executes a block of code as long as a specified condition is true.

17
New cards

For Loop

A loop that iterates over a sequence, such as a list or range, executing a block of code for each item.

18
New cards

Variable

A symbolic name associated with a value and that can be changed.

19
New cards

Input Validation

The process of ensuring that user input is appropriate and valid before processing.