Free Online Flashcard Deck

1 Programming Fundamentals and Problem Solving Free Online FlashCards

Study 1 Programming Fundamentals and Problem Solving with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is an algorithm?

Back

An algorithm is a finite, ordered set of precise steps for solving a problem or completing a task.

02
Front

What is decomposition in problem solving?

Back

Decomposition divides a complicated problem into smaller, manageable subtasks, such as reading scores, validating them, and calculating an average.

03
Front

What is pseudocode?

Back

Pseudocode is an informal, code-like description of an algorithm that focuses on logic without requiring a specific language’s syntax.

04
Front

What is a variable?

Back

A variable is a named reference to a value that preserves information while a program runs.

05
Front

What does a conditional do?

Back

A conditional selects which instructions execute based on a Boolean expression. In an if/else chain, conditions are checked from top to bottom.

06
Front

What is the purpose of a loop?

Back

A loop repeats a block of instructions while processing items or waiting for a condition to change.

07
Front

How does a WHILE loop work?

Back

A WHILE loop repeats as long as its condition is true. Its condition must eventually become false to prevent an infinite loop.

08
Front

What is a function?

Back

A function is a named, reusable block of instructions. It can accept inputs, return a value, modify data, or perform an action.

09
Front

Arguments versus parameters?

Back

Arguments are the values supplied when a function is called; parameters are the names in the function definition that receive those values.

10
Front

What is an array?

Back

An array is an ordered collection accessed by position. In many languages, indexing begins at zero.

11
Front

What does an object group together?

Back

An object groups related data and operations. Its data may be called properties or fields, while its associated operations are methods.

12
Front

What is a class?

Back

A class is a definition or blueprint used to create objects, describing the data and behavior their instances should have.