Module 1 "Introduction to Programming" Flashcards

1
Q

____________is a multistep process for creating a program.

A

Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is a way of giving computers instructions about what they should do next.

A

Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

It is a way of giving computers instructions about what they should do next. These instructions are known as ____.

A

code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Programming is important for (2)

A

learning to innovate

create eco- friendly solutions for global problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

________ is important for speeding up the input and output processes in a machine.

A

Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A ______ is a list or sequence of instructions that tell a computer what to do.

A

computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Everything a computer does is done by using a _______.

A

computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A computer program is written in a ___________.

A

programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A _________ is a type of written language that tells computers what to do in order to work.

A

programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

_______ are used to make all the computer programs or software.

A

programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Each PL has its own grammar called _____. It consists of rules governing the structure and content of the statement that should be followed.

A

syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A programmer writes _______ using a programming language to create programs.

A

source code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

______ is a well-written set of instructions and statements to develop a program.

A

Source code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Source code can be written in ____ or _____

A

low-level or high-level language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Source code must be translated to machine language (binary form) using a
_______.

A

language translator.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

______ translates a program written from an assembly language to a low-level language.

A

Assembler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

________ translates each statement or one line at a time and executed immediately after translation.

A

Interpreter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

_______ translates all statements at one time. It provides all the error messages – called diagnostics- at once.

A

Compiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What level—-
* uses instructions tied directly to one type of computer.
* often cryptic and not human-readable.

A

Low-level Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What level—-
* uses English-like instructions and can be run on a variety of computer types.

A

High-level language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Within a computer, all data is represented by microscopic electronic switches that can be either ____ or ____.

A

OFF or ON.

  • OFF switch is designated by a 0.
  • ON switch is designated by a 1.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Instructions written in 0s and 1s are called _____ or ______

A

machine language or machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Each class of computer has its own particular ________

A

machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Assembly language programs must be translated into machine instructions, using an ________

A

assembler.

25
A ________ is a style, or “way,” of programming to solve problem using some programming language.
programming paradigm
26
It is an approach or method to solve a problem using tools and techniques that are available to us following some approach.
programming paradigm
27
It is also a way to classify programming languages based on their features.
programming paradigm
28
_________, the programmer concentrates on the major tasks that the program needs to perform.
Procedure-oriented program
29
__________ requires the programmer to focus on the objects that the program can use to accomplish its goal. The objects can take on many different forms.
Object-oriented program
30
When we want to develop a program using any programming language, we follow a sequence of steps. These steps are called _________
phases in program development.
31
The ________ is a set of steps or phases that are used to develop a program in any programming language.
program development life cycle
32
5 steps of program development RA SD C TD DM
1. Requirement Analysis 2. System Design 3. Coding or Writing The Program 4. Testing and Debugging 5. Documentation and Maintenance
33
__________ is a description of what a system should do
Requirement
34
Problem Analysis in REQUIREMENT requires performing the following steps
* Define the problem and the users. * Determine the desired outputs. * Determine the input to achieve the desired outputs. * Determine the processes involve. * Check the feasibility of implementing the program. * Document the analysis.
35
The program design process describes the ______ for the solution of the problem.
algorithm
36
______ is the step-by-step sequence of instructions that describe how data will be processed to produce the desired output.
algorithm
37
To formulate the algorithm, a programmer may choose between _____ or _____.
pseudocodes or flowcharts
38
_______ written in normal Human language statements to describe the logic and processing flow.
Pseudocode
39
______ is a visual representation of the sequence of steps and decisions needed to perform a process
Flowchart
40
Steps are linked by ______ lines and _________ arrows.
connecting directional
40
In Flowchart, each step in the sequence is noted within a ________.
diagram shape
41
Construction of code requires performing the following steps:
* Select the appropriate programming language. * Follow the syntax.
42
Program testing involves running various tests, such as desk checking and debugging – called ________
alpha testing
43
Program testing involves running various tests, such as _______ and ______
desk checking and debugging
44
Testing and debugging requires the following steps: Pdc Dtp Rrd
1. Perform desk-checking 2. Debug the program 3. Run real data
45
______ is performed by real users of the software application in a real environment.
Beta Testing
46
_______ is manually testing the solution design to make sure that it is free of errors and that the logic works.
Desk checking
47
_______ means detecting, locating, and removing all errors in a computer program
Debugging
48
Types of Errors(3)
* Syntax Error * Run-time Error * Logical Error
49
______ is the most common error and incorrect use of programming language statements.
Syntax Error
50
_______ is a software error that occurs while a program is being executed.
Run-time Error
51
_______ is a mistake in a program's source code that results in incorrect or unexpected behavior.
Logical Error
52
_______ is a written detailed description of the programming cycle and specific facts about the program.
Documentation
53
_______ is any activity designed to keep programs error-free, up-to-date and in good working condition
Maintenance
54
give example of Interpreter
JavaScript, Python, Ruby
55
give example of Compiler
C, C++, Java
56
often cryptic and not human-readable
Low-level Language
57
Low-level Language example
machine language, assembly language