2.1 2.3, 2.2

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/41

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

What is abstraction?

Removing unnecessary details to simplify a problem.

2
New cards

What is decomposition?

Breaking a complex problem into smaller parts.

3
New cards

What does algorithmic thinking involve?

Logical steps to solve a problem systematically.

4
New cards

What does input in an algorithm mean?

Data received before processing starts.

5
New cards

What does process in an algorithm mean?

The steps taken to transform input into output.

6
New cards

What does output mean?

The result produced by an algorithm.

7
New cards

What is a structure diagram?

A visual way to organize algorithm logic before writing code.

8
New cards

What is pseudocode?

A structured way to describe an algorithm in plain language.

9
New cards

What does a trace table help you to do?

Follow variable values through each step of an algorithm.

10
New cards

What is linear search?

Searching each item in a list in order until found.

11
New cards

What is binary search?

Efficient search by repeatedly halving a sorted list.

12
New cards

What is bubble sort?

Sorting by repeatedly swapping adjacent elements.

13
New cards

What is insertion sort?

Building a sorted list by inserting each element into its place.

14
New cards

What is merge sort?

A divide-and-conquer algorithm that splits and merges sorted lists.

15
New cards

What is a variable?

A named storage location in memory.

16
New cards

What is a constant?

A fixed value that doesn't change during execution.

17
New cards

What does assignment mean?

Storing a value in a variable.

18
New cards

What does sequence in programming mean?

Executing code in order from top to bottom.

19
New cards

What does selection control flow using?

Decisions (IF…ELSE).

20
New cards

What does iteration mean?

Repeating code (loops: WHILE/REPEAT).

21
New cards

What is an integer?

A whole number type.

22
New cards

What is a real?

A decimal number type.

23
New cards

What is a Boolean?

True/False logical type.

24
New cards

What does casting mean?

Changing a variable from one data type to another.

25
New cards

What is string concatenation?

Joining two strings together.

26
New cards

What does file handling include?

Open, Read, Write, Close.

27
New cards

What is an array?

A fixed-length list of data elements.

28
New cards

What does SQL SELECT do?

Retrieve data from a database.

29
New cards

What does random number generation do?

Produces unpredictable values for use in programs.

30
New cards

What do subprograms (functions/procedures) help with?

Organizing reusable code.

31
New cards

What is input validation?

Checking data is sensible before use.

32
New cards

What does authentication mean?

Confirming the identity of a user.

33
New cards

What does maintainability refer to?

Easy-to-read and change code.

34
New cards

Why use comments?

Explain code and help others understand it.

35
New cards

What does indentation improve?

Structure and readability of code.

36
New cards

What do naming conventions help with?

Giving meaningful names to variables and functions.

37
New cards

What is the purpose of testing?

Find and fix errors.

38
New cards

What are syntax errors?

Language rule mistakes that prevent running.

39
New cards

What do logic errors cause?

Incorrect output while still running.

40
New cards

What do boundary test data tests?

Edge values at limits of valid input.

41
New cards

What is invalid test data?

Incorrect type/format that should be rejected.

42
New cards

What does a test plan mean?

A list of test cases to check program behavior.

Explore top flashcards

Ana Final :(
Updated 959d ago
flashcards Flashcards (132)
Ecologyintro
Updated 109d ago
flashcards Flashcards (34)
ORGCHEM FINALS
Updated 572d ago
flashcards Flashcards (123)
Acute Exam 3
Updated 988d ago
flashcards Flashcards (37)
brit lit final exam
Updated 570d ago
flashcards Flashcards (71)
Lecture 17
Updated 746d ago
flashcards Flashcards (27)
Ana Final :(
Updated 959d ago
flashcards Flashcards (132)
Ecologyintro
Updated 109d ago
flashcards Flashcards (34)
ORGCHEM FINALS
Updated 572d ago
flashcards Flashcards (123)
Acute Exam 3
Updated 988d ago
flashcards Flashcards (37)
brit lit final exam
Updated 570d ago
flashcards Flashcards (71)
Lecture 17
Updated 746d ago
flashcards Flashcards (27)