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
Q

A ________ is a style, or “way,” of programming to solve problem using some programming language.

A

programming paradigm

26
Q

It is an approach or method to solve a problem using tools and techniques that are available to us following some approach.

A

programming paradigm

27
Q

It is also a way to classify programming languages based on their features.

A

programming paradigm

28
Q

_________, the programmer concentrates on the major tasks that the program needs to perform.

A

Procedure-oriented program

29
Q

__________ 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.

A

Object-oriented program

30
Q

When we want to develop a program using any programming language, we follow a sequence of steps. These steps are called _________

A

phases in program development.

31
Q

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

A

program development life cycle

32
Q

5 steps of program development

RA
SD
C
TD
DM

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

__________ is a description of what a system should do

A

Requirement

34
Q

Problem Analysis in REQUIREMENT requires performing the following steps

A
  • 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
Q

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

A

algorithm

36
Q

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

A

algorithm

37
Q

To formulate the algorithm, a programmer may choose between _____ or _____.

A

pseudocodes or flowcharts

38
Q

_______ written in normal Human language statements to describe the logic and processing flow.

A

Pseudocode

39
Q

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

A

Flowchart

40
Q

Steps are linked by ______ lines and _________ arrows.

A

connecting
directional

40
Q

In Flowchart, each step in the sequence is noted within a ________.

A

diagram shape

41
Q

Construction of code requires performing the following steps:

A
  • Select the appropriate programming language.
  • Follow the syntax.
42
Q

Program testing involves running various tests, such as desk checking and debugging – called ________

A

alpha testing

43
Q

Program testing involves running various tests, such as _______ and ______

A

desk checking and debugging

44
Q

Testing and debugging requires the following steps:
Pdc
Dtp
Rrd

A
  1. Perform desk-checking
  2. Debug the program
  3. Run real data
45
Q

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

A

Beta Testing

46
Q

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

A

Desk checking

47
Q

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

A

Debugging

48
Q

Types of Errors(3)

A
  • Syntax Error
  • Run-time Error
  • Logical Error
49
Q

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

A

Syntax Error

50
Q

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

A

Run-time Error

51
Q

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

A

Logical Error

52
Q

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

A

Documentation

53
Q

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

A

Maintenance

54
Q

give example of Interpreter

A

JavaScript, Python, Ruby

55
Q

give example of Compiler

A

C, C++, Java

56
Q

often cryptic and not human-readable

A

Low-level Language

57
Q

Low-level Language example

A

machine language, assembly language