week2 it

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

1/159

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.

160 Terms

1
New cards

What are the key components of the program development cycle?

The steps involved include problem-solving, algorithm development, and systematic design of software solutions.

2
New cards

What is a computer system?

A combination of all components required to process and store data using a computer, including hardware and software.

3
New cards

What is hardware in the context of a computer system?

The physical devices associated with a computer, such as keyboards, mice, speakers, and printers.

4
New cards

What is software?

Computer instructions that tell the hardware what to do, including programs written by programmers.

5
New cards

What are the two broad types of software?

Application software and system software.

6
New cards

What is application software?

Programs applied to a task, such as word processing, spreadsheets, and games.

7
New cards

What is system software?

Programs used to manage a computer, including operating systems like Windows, Linux, and mobile OS such as Android and iOS.

8
New cards

three major operations accomplished by computer hardware and software?

Input, processing, and output.

9
New cards

What does the input operation in a computer system involve?

Data items entering the computer system and being placed in memory for processing.

10
New cards

What is the role of the central processing unit (CPU) in a computer system?

To process data items by organizing, sorting, checking for accuracy, or performing calculations.

11
New cards

pseudocode

A high-level description of a computer program's logic, written in a way that resembles programming language.

12
New cards

What is the purpose of using a sentinel value in programming?

To signify the end of a program or a loop.

13
New cards

What does the term 'programming' refer to?

The process of writing software instructions.

14
New cards

What are flowchart symbols used for?

To visually represent the flow of a program or algorithm.

15
New cards

What is the significance of logical thinking in programming?

It helps in creating effective and efficient software solutions.

16
New cards

How can software be classified?

Into application software and system software.

17
New cards

What is an example of input hardware?

Keyboards and mice.

18
New cards

What types of data can be processed by a computer?

Text, numbers, images, sounds, and user interactions.

19
New cards

What is the evolution of programming models?

The historical development and changes in programming paradigms and methodologies.

20
New cards

What are some examples of application software?

Word processing programs, spreadsheets, payroll programs, and games.

21
New cards

What is the importance of the programming process?

It focuses on the systematic approach to developing software solutions.

22
New cards

What is the difference between data and information in programming?

Data refers to input items, while information refers to data items that have been processed and output.

23
New cards

What are common output devices for processed information?

Printers, monitors, or storage devices like hard drives and cloud-based devices.

24
New cards

What is the purpose of storage devices in programming?

They hold information for later retrieval and can be used as input for another program.

25
New cards

What is a programming language?

A formal language used to write computer instructions, such as Visual Basic, C#, C++, or Java.

26
New cards

What is program code?

The instructions written using a programming language.

27
New cards

What are syntax errors?

Mistakes in a programming language's usage that violate its rules of word usage and punctuation.

28
New cards

What is RAM and its role in programming?

Random Access Memory (RAM) is volatile internal storage used for quick access to running programs and data.

29
New cards

What is the difference between volatile and nonvolatile storage?

Volatile storage (like RAM) loses its contents when power is off, while nonvolatile storage retains its contents.

30
New cards

What is source code?

The program instructions written in a programming language before being translated to machine language.

31
New cards

What is object code?

The translated machine language statements that represent the source code.

32
New cards

What software is used to translate source code into machine language?

A compiler or an interpreter.

33
New cards

What is machine language also known as?

Binary language, represented as a series of 0s and 1s.

34
New cards

How do compilers or interpreters assist programmers?

They translate code and highlight syntax errors, providing error messages for corrections.

35
New cards

What happens when a program runs?

It accepts input, processes it, and produces output.

36
New cards

What is the program development cycle?

The process involving writing, testing, and refining a program, which does not start with immediate typing.

37
New cards

What is the role of a programmer in the development cycle?

To write, test, and refine code, ensuring it functions correctly.

38
New cards

What is the significance of permanent storage devices?

They retain data even when power is lost, allowing for recovery of work.

39
New cards

What is the purpose of translating source code?

To convert it into machine language that the computer can execute.

40
New cards

What does it mean to code a program?

To write instructions in a programming language.

41
New cards

What is the typical flow of a computer program?

Input is accepted, processing occurs, and results are output.

42
New cards

How does a programmer know if there are mistakes in their code?

The compiler or interpreter displays error messages when incorrect components are used.

43
New cards

What is the importance of syntax in programming languages?

Syntax governs the rules for word usage and punctuation, essential for correct code execution.

44
New cards

What happens to the contents of RAM when the computer is turned off?

The contents are lost, as RAM is volatile memory.

45
New cards

What is the purpose of saving work at regular intervals?

To ensure that work is not lost during power outages or system failures.

46
New cards

What are the seven steps of the program development cycle?

1. Understand the problem. 2. Plan the logic. 3. Code the program. 4. Use software to translate the program into machine language. 5. Test the program. 6. Put the program into production. 7. Maintain the program.

47
New cards

What is the purpose of documentation in programming?

Documentation provides supporting paperwork for a program, including original requests from users, sample output, and descriptions of data items available for input.

48
New cards

What is the significance of planning the program's logic?

Planning the program's logic is crucial as it involves deciding the steps to include and their order, which can be done using tools like flowcharts and pseudocode.

<p>Planning the program's logic is crucial as it involves deciding the steps to include and their order, which can be done using tools like flowcharts and pseudocode.</p>
49
New cards

What are flowcharts and pseudocode used for in programming?

They are planning tools that help programmers outline the steps of a program in a structured way.

50
New cards

What is an algorithm in programming?

An algorithm is the sequence of steps or rules followed to solve a problem.

51
New cards

What does desk-checking refer to in programming?

Desk-checking is the process of walking through a program's logic on paper before actually writing the program.

52
New cards

What must a programmer do after developing the logic for a program?

The programmer can then write the source code for the program.

53
New cards

Why do programmers choose specific programming languages?

Programmers choose languages based on built-in capabilities that make them more efficient for certain types of operations.

54
New cards

What basic capabilities do most programming languages share?

Most programming languages can handle input operations, arithmetic processing, output operations, and other standard functions.

55
New cards

What is the role of a compiler or interpreter in programming?

A compiler or interpreter translates high-level programming languages into low-level machine language that the computer understands.

56
New cards

What happens to the commands after they are translated into machine language?

The commands are saved as a machine language program that can be run multiple times without needing to repeat the translation step.

57
New cards

What is required for a program to be considered executable?

A program is executable only when the code is free of syntax errors.

58
New cards

What is the difference between syntax errors and logical errors?

Syntax errors occur when the code violates the rules of the programming language, while logical errors occur when a syntactically correct statement is used incorrectly in context.

59
New cards

What is meant by maintaining a program?

Maintaining a program involves making updates and fixes after it has been put into production.

60
New cards

What is the first step in the program development cycle?

Understanding the problem.

61
New cards

What is the last step in the program development cycle?

Maintaining the program.

62
New cards

What might a programmer need to do if they make changes to the source code?

They need to retranslate the code into machine language.

63
New cards

How can logical errors affect a program?

Logical errors can lead to incorrect results even if the program runs without syntax errors.

64
New cards

What is the significance of testing a program?

Testing ensures that the program is functioning correctly and is free of logical errors.

65
New cards

What is the relationship between source code and machine language?

Source code is written in a high-level programming language and must be translated into machine language for the computer to execute it.

66
New cards

What is the role of the end user in the programming process?

The end user is the person whose needs the program is designed to satisfy.

67
New cards

What does it mean to put a program into production?

Putting a program into production means deploying it for use by end users.

68
New cards

What is the purpose of testing a program after it is free of syntax errors?

To execute it with sample data and verify whether the results are logically correct.

69
New cards

What is involved in putting a program into production?

It may involve running the program, training data-entry personnel, training users, or converting existing data to a new format.

70
New cards

What does the term 'conversion' refer to in programming?

The entire set of actions an organization must take to switch over to using a new program or set of programs.

71
New cards

What is maintenance in the context of programming?

Making necessary changes to a program after it has been put into production.

72
New cards

What are some reasons maintenance might be required for a program?

Changes in tax rates, alterations in input file formats, or user requests for additional information.

73
New cards

the first step when maintaining previously written programs?

Understanding the changes that need to be made.

74
New cards

What tools do programmers often use to plan the logic for a programming solution?

Pseudocode or flowcharts

75
New cards

What is a flowchart?

A pictorial representation of the logical steps to solve a problem.

76
New cards

What is the typical structure of pseudocode?

It begins with a 'start' statement and ends with a 'stop' statement, with indented steps in between.

77
New cards

What are some standards for writing pseudocode?

Programs begin with 'start' and end with 'stop', module names are followed by parentheses, and program statements are indented.

78
New cards

How should program statements be formatted in pseudocode?

Each statement should perform one action, be indented, and appear on a single line if possible.

79
New cards

What is the capitalization rule for program statements in pseudocode?

Program statements begin with lowercase letters.

80
New cards

What punctuation is used in pseudocode statements?

No punctuation is used to end statements.

81
New cards

What happens if a program requires a substantial number of changes?

The original program might be retired, and a new program development cycle might be started.

82
New cards

What is the significance of clear code and documentation in programming?

It helps maintain programs effectively, especially when changes are required.

83
New cards

What is the role of training in putting a program into production?

Training is necessary for users to understand the output and for data-entry personnel to prepare input.

84
New cards

What does 'debugging' refer to in programming?

The process of identifying and fixing errors in a program.

85
New cards

Why is selecting test data considered an art?

Because it requires careful consideration to ensure it effectively tests the program's logic.

86
New cards

What might be a consequence of not maintaining a program?

It may become outdated or fail to meet user requirements.

87
New cards

What is the relationship between maintenance and the development cycle?

When maintaining programs, you repeat the development cycle: understand, plan, code, translate, and test.

88
New cards

What geometric shapes are used in flowcharts to represent individual statements?

Geometric shapes such as parallelograms for input/output and rectangles for processing.

89
New cards

What does a parallelogram represent in a flowchart?

An input or output operation, often referred to as the I/O symbol.

<p>An input or output operation, often referred to as the I/O symbol.</p>
90
New cards

What shape is used in flowcharts to represent processing statements?

A rectangle.

91
New cards

How should the flow of a flowchart be organized?

Most of a flowchart should read from top to bottom or from left to right.

92
New cards

What symbols are used to indicate the start and end of a flowchart?

Terminal symbols or start/stop symbols, often labeled 'start' or 'end'.

93
New cards

What is the purpose of arrows in a flowchart?

To connect the steps and show the correct sequence of statements.

94
New cards

What are the steps a programmer needs to follow after developing a flowchart or pseudocode?

1. Buy a computer, 2. Buy a language compiler, 3. Learn a programming language, 4. Code the program, 5. Attempt to compile it, 6. Fix syntax errors, 7. Compile again, 8. Test with data, 9. Put into production.

95
New cards

What is a loop in programming?

The repetition of a series of steps, allowing the computer to execute the same instructions multiple times.

96
New cards

What is the benefit of using a loop instead of writing repetitive code?

It saves time and effort by allowing the computer to execute the same set of instructions repeatedly.

97
New cards

What is the first step a programmer should take after developing a flowchart?

Buy a computer.

98
New cards

What does the term 'syntax errors' refer to in programming?

Mistakes in the code that violate the rules of the programming language.

99
New cards

What is the final step in the programming process outlined in the notes?

Put the program into production.

100
New cards

What is the purpose of using flowchart symbols?

To visually represent the logic and flow of a program.