Introduction to Computer Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

flashcard set

Earn XP

Description and Tags

A set of flashcards summarizing key concepts from the Introduction to Computer Programming lecture.

Last updated 7:54 PM on 4/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

What is a computer program?

A sequence of instructions in some computer programming language that instructs a computer to perform a task.

2
New cards

What does a computer program do?

Transforms input data to output data.

3
New cards

Does a computer program have to physically exist?

No, a program doesn't have to physically exist.

4
New cards

What are the levels of programming languages?

Human comprehension, High Level Language, Assembly Language, Machine Language.

5
New cards

Give an example of a high-level programming language.

Java.

6
New cards

What is a compiler?

A special program that transforms a program written in a high-level language to a lower-level language.

7
New cards

What programming language will be used in this course?

Java.

8
New cards

What is programming?

Solving problems using computer programs.

9
New cards

What are the steps involved in programming?

Problem analysis, Solution design, Coding the solution.

10
New cards

What happens if you skip problem analysis and solution design in programming?

It usually ends in tears.

11
New cards

What is required for mastery of programming?

Tons of practice.

12
New cards

Is reading alone sufficient to master programming?

No, practice is essential.

13
New cards

What does procedural thinking involve?

Presenting solutions to problems in steps.

14
New cards

What is an example of procedural thinking?

Making a cup of tea.

15
New cards

Why is procedural thinking important?

Computer hardware is a machine that does exactly as told.

16
New cards

What are the three core elements of structured programming?

Sequence, Selection, Repetition.

17
New cards

What does sequence in programming mean?

Executing a list of instructions in order.

18
New cards

Provide an example of sequence in programming.

Making a cup of tea: boil water, add tea leaves, pour into a cup, add sugar.

19
New cards

What does selection in programming mean?

Choosing one action from multiple alternatives.

20
New cards

Give an example of selection in programming.

Checking if a real number has a real square root.

21
New cards

What is repetition in programming?

Repeating a list of instructions while some condition remains true.

22
New cards

Provide an example of repetition in programming.

Rinsing a stack of plates.

23
New cards

What does modularity mean in programming?

Assigning names to blocks of instructions.

24
New cards

What can each block of modular instructions include?

Sequence, selection, repetition.

25
New cards

How is a modular block treated in programming?

As a single instruction.

26
New cards

Give an example of modular programming with a real-world scenario.

ATM Withdraw process.

27
New cards

What are the steps involved in program development?

Define the problem, Outline the solution, Transform to an algorithm, Test, Code, Run, Document.

28
New cards

What is the prescribed text for the course?

Introduction to Programming in Java by Sedgewick and Wayne.

29
New cards

How is the assessment structured in this course?

50% continuous assessment and 50% EOS.

30
New cards

What types of tests are included in the assessment?

2 paper-based tests and 1 practical test.

31
New cards

Who is the name of the instructor for the course?

Mwawi Msiska.