UTA INSY 2303 Exam 3 Review (Unit 11)

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

1/51

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.

52 Terms

1
New cards

High-level language

A language that uses command words and grammar based on human languages to provide a level of abstraction that hides the underlying low-level language.

2
New cards

_______ are considered "high-level" languages, and more closely resemble human languages.

Fourth-generation languages

3
New cards

Low-level language

A language that has a low level of abstraction because it includes commands specific to a particular CPU or microprocessor family.

4
New cards

First-generation languages

The fist machine languages programmers used.

5
New cards

Second-generation languages

Languages that added a level of abstraction to machine languages by substituting abbreviated command words for binary numbers.

6
New cards

Third-generation languages

Languages that were conceived in the 1950s and used easy-to-remember command words, such as PRINT and INPUT.

7
New cards

An assembly language is classified as a low-level language because it is machine specific.

True

8
New cards

The computer language Prolog, based on a declarative programming paradigm, is identified as a _______ , though some experts disagree with this classification.

Fifth-generation language

9
New cards

An assembler typically reads a program written in an assembly language, which has two parts:

The op code and the operand.

10
New cards

An _______ , which is short for operation code, is a command word for an operation such as add, compare, or jump.

Op code

11
New cards

The _______ for an instruction specifies the data for the operation.

Operand

12
New cards

Programming paradigms

A way of conceptualizing and structuring the tasks a computer performs.

13
New cards

Variable

A value that can change.

14
New cards

Constant

A factor that remains the same throughout a program.

15
New cards

Runtime error

An error that occurs when a program runs instructions that the computer can't execute.

16
New cards

Logic error

A type of runtime error in the logic or design of the program.

17
New cards

Syntax error

An error that occurs when an instruction does not follow the syntax rules of the programming language.

18
New cards

Source code

The human-readable version of a program created in a high-level language by a programmer.

19
New cards

Source code must first be translated into machine language using a compiler or interpreter.

True

20
New cards

A _______ converts all the statements in a program in a single batch, and the resulting collection of instructions, called object code, is placed in a new file.

Compiler

21
New cards

An ______ converts and executes one statement at a time while the program is running; once executed, the interpreter converts and executes the next statement.

Interpreter

22
New cards

Object code

The resulting collection of instructions when a complier converts all the statements in a program in a single batch.

23
New cards

API (Application programming interface)

A language and message format used by an application program to communicate with the operating system or some other control program such as a database management system (DBMS) or communications protocol.

24
New cards

Algorithm

A set of steps for carrying out a task that can be written down and implemented.

25
New cards

Algorithms are usually written in a format that is not specific to a particular programming language.

True

26
New cards

Steps for designing an algorithm:

1. Record the steps required to solve the problem manually.

2. Specify how to manipulate the information needed to calculate and solve the problem.

3. Specify how the computer decides what to display as the solution.

27
New cards

Pseudocode

A notational system for algorithms that is less formal than a programming language.

28
New cards

Flowchart

A graphical representation of the way a computer should progress from one instruction to the next as it performs a task.

29
New cards

Structured English

A subset of the English language with a limited selection of sentence structures that reflect processing activities.

30
New cards

Syntax

The set of rules that specify the sequence of keywords, parameters, and punctuation in a program instruction.

31
New cards

Flow control

The sequence in which a computer executes program instructions.

32
New cards

The key to a computer's ability to adjust to so many situations is the programmer's ability to control the _______ of a program.

Flow

33
New cards

Function

A section of code that is part of a program but is not included in the main sequential execution path; a sequence control structure directs the computer to the statements contained in a function, when the statements have been executed, the computer returns to the main program

34
New cards

A _______ tells a computer what to do based on whether a condition is true or false; a simple example of a selection control structure is the if...else command.

Selection control structure

35
New cards

A _______ changes the order in which instructions are carried out by directing the computer to execute an instruction elsewhere in the program.

Sequence control structure

36
New cards

A _______ directs the computer to repeat one or more instructions until a certain condition is met.

Repetition control structure

37
New cards

The selection of code that repeats is usually referred to as a _______ or an _______.

Loop; iteration

38
New cards

The _______ is based on objects and classes that can be defined and manipulated by program code.

Object-oriented (OO) paradigm.

39
New cards

In the context of the OO paradigm, an _______ is a unit of data that represents an abstract or real-world entity, such as a person, place, or thing.

Object

40
New cards

A _______ defines the characteristics of a set of objects.

Class attribute

41
New cards

Public attribute

An attribute that is available for use by any routine in the program.

42
New cards

Private attribute

An attribute that can be accessed only from the routine in which it is defined.

43
New cards

Attribute

A specification that defines a property of an object, element, or file.

44
New cards

Class

A template for a group of objects with similar characteristics.

45
New cards

The process of producing new classes with inherited attributes creates a _______ that includes superclass and subclasses.

Class hierarchy

46
New cards

Superclass

Any class from which attributes can be inherited.

47
New cards

Subclass

Any class that inherits attributes from a superclass.

48
New cards

Inheritance

A concept that when a class of objects is defined, any subclass that is defined can inherit the definitions of one or more general classes.

49
New cards

Method

A segment of code that defines an action; the names of methods end in a set of parenthesis, such as compare() or getArea().

50
New cards

A method is activated by a message, which is included as a line of program code that is sometimes referred to as a call.

True

51
New cards

Polymorphism

Sometimes called overloading, is the ability to redefine a method in a subclass; it provides OO programmers with easy extensibility and can help simplify program control structures.

52
New cards

Encapsulation

The process of taking data from one protocol and translating it into another protocol, so the data can continue across a network.