Midterms #1 Flashcards

(49 cards)

1
Q

is a multi-step process for creating a program

A

Programming

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

way of giving computers what they should do next

A

Code

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

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
4
Q

written in a programming language

A

computer program

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

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

A

programming language (PL)

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

Each PL has its own grammar called

A

syntax

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

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
8
Q

writes source code

A

programmer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
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
10
Q

Source code can be written in

A

low-level or high-level
language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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
12
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
13
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
14
Q

Compiler

A

C, C++, Java

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

Interpreter

A

JavaScript, Python, Ruby

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

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
17
Q

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
18
Q

designated by
a 0.

A

OFF

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

designated by
a 1.

A

ON

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

Instructions are written in 0s and
1s are called

A

machine
language

21
Q

Steps in program development life cycle

A
  1. Requirement Analysis
  2. System Design
  3. Coding or Writing The Program
  4. Testing and Debugging
  5. Documentation and Maintenance
22
Q

When we want to develop a program using any programming
language, we follow a sequence of steps

23
Q

a set of steps or phases that are used to develop a program in any
programming language.

A

program development life cycle

24
Q

is a description of what a system should do

25
it involves the collection of information and the definition of the characteristics or features of the desired system.
Requirement Analysis
26
The program design process describes the algorithm for the solution of the problem.
System Design
27
is the step-by-step sequence of instructions that describe how data will be processed to produce the desired output.
algorithm
28
To formulate the algorithm, a programmer may choose between
pseudocodes or flowcharts
29
is an algorithm written in normal Human language statements to describe the logic and processing flow.
Pseudocode
30
is a visual representation of the sequence of steps and decisions needed to perform a process.
Flowchart
31
The actual writing of the program based on the design specifications
Coding
32
is performed by real users of the software application in a real environment.
Beta Testing
33
Program testing involves running various tests such as desk checking and debugging
alpha testing
34
is manually testing the solution design to make sure that it is free of errors and that the logic works.
Desk checking
35
means detecting, locating, and removing all errors in a computer program.
Debugging
36
is the most common error and incorrect use of programming language statements.
Syntax Error
37
is a software error that occurs while a program is being executed.
Run-time Error
38
is a mistake in a program's source code that results in incorrect or unexpected behavior.
Logical Error
39
is a written detailed description of the programming cycle and specific facts about the program.
Documentation
40
is any activity designed to keep programs error-free, up-to-date, and in good working condition.
Maintenance
41
is called false code because, it has no syntax like any of the programming language and thus can’t be compiled or interpreted by the computer.
Pseudocode
42
It is not standardized
Pseudocode
43
It is simply an implementation of an algorithm in the form of annotations and informative text is written in plain English
Pseudocode
44
To reduce the value of a variable
DECREMENT
45
To increase the value of a variable
INCREMENT, BUMP
46
To initialize values
SET, INIT
47
This is used to calculate the result of an expression
COMPUTE, CALCULATE, DETERMINE
48
iteration bounds sequence
FOR
49
condition sequence
WHILE