Midterms #1 Flashcards

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

A

phases

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

A

Requirement

25
Q

it involves the collection of information and the definition of the characteristics or features of the desired system.

A

Requirement Analysis

26
Q

The program design process describes the algorithm for the solution of the problem.

A

System Design

27
Q

is the step-by-step sequence of instructions that describe how data will be processed to produce the desired
output.

A

algorithm

28
Q

To formulate the algorithm, a programmer may choose between

A

pseudocodes or flowcharts

29
Q

is an algorithm written in normal Human language statements to describe the logic and processing flow.

A

Pseudocode

30
Q

is a visual
representation of the sequence
of steps and decisions needed
to perform a process.

A

Flowchart

31
Q

The actual writing of the program based on the design specifications

A

Coding

32
Q

is performed by real users of the software application in a real environment.

A

Beta Testing

33
Q

Program testing involves running various tests such as desk checking and debugging

A

alpha testing

34
Q

is manually testing the solution design to
make sure that it is free of errors and that the logic works.

A

Desk checking

35
Q

means detecting, locating, and removing all errors in a computer program.

A

Debugging

36
Q

is the most common error and incorrect use of
programming language statements.

A

Syntax Error

37
Q

is a software error that occurs while a program is being executed.

A

Run-time Error

38
Q

is a mistake in a program’s source code that results in incorrect or unexpected behavior.

A

Logical Error

39
Q

is a written detailed description of the
programming cycle and specific facts about the program.

A

Documentation

40
Q

is any activity designed to keep programs
error-free, up-to-date, and in good working condition.

A

Maintenance

41
Q

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.

A

Pseudocode

42
Q

It is not standardized

A

Pseudocode

43
Q

It is simply an implementation of an algorithm in the form of annotations and informative text is written in plain English

A

Pseudocode

44
Q

To reduce the value of a variable

A

DECREMENT

45
Q

To increase the value of a variable

A

INCREMENT, BUMP

46
Q

To initialize values

A

SET, INIT

47
Q

This is used to calculate
the result of an expression

A

COMPUTE, CALCULATE, DETERMINE

48
Q

iteration bounds
sequence

A

FOR

49
Q

condition
sequence

A

WHILE