CIS 1000 Chapter 10 chd

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following provides a visual representation of the patterns of an algorithm? A) Flowchart B) Pseudocode C) Gantt chart D) Flow analysis

A) Flowchart

___ is a powerful programming language that can be used to create a wide range of Windows applications. A) Visual Basic B) PHP C) BASIC D) HTML

A) Visual Basic

The capability of moving a completed programming solution easily from one type of computer to another is known as ________. A) portability B) scalability C) transferability D) inheritance

A) portability

___ is the process of translating a task into a series of commands that a computer will use to perform the task. A) Debugging B) Programming C) Analyzing D) Diagramming

B) Programming

__ is a combination of natural language and programming language that is used to document an algorithm. A) Flowcharting B) Pseudocode C) Diagramming D) Debugging

B) Pseudocode

Which statement does NOT describe fifth-generation languages? A) They are the most "natural" of languages. B) They use a set of short, English-based commands (such as SUB) that speak directly to the CPU. C) Problems are presented as a series of facts or constraints rather than as a specific algorithm. D) The system of facts can be queried.

B) They use a set of short, English-based commands (such as SUB) that speak directly to the CPU.

___ breaks down a problem into a series of high-level tasks and continues to break each task into successively more detailed subtasks. A) Object-oriented analysis B) Top-down design C) Bottom-up design D) Inheritance

B) Top-down design

Object-oriented ________ are defined by the information (data) and the actions (methods) associated with them. A) blocks B) classes C) units D) fields

B) classes

Translating an algorithm into a programming language is called ________. A) interpreting B) coding C) compiling D) executing

B) coding

The keywords used in programming languages that use decisions to redirect the flow of a program are called ________. A) pseudocode B) control structures C) flowcharts D) operators

B) control structures

The first-generation language is ________. A) BASIC B) machine language C) COBOL D) assembly language

B) machine language

The final step of the system development life cycle (SDLC) is ________. A) testing and installation B) maintenance and evaluation C) analysis D) design

B) maintenance and evaluation

The flowchart shape for a process is a(n) ________. A) parallelogram B) rectangle C) diamond D) oval

B) rectangle

Division by zero is a ________ error that is caught when the program executes. A) compiler B) runtime C) syntax D) logical

B) runtime

Match each of the following terms to its definition: I. portability II. reusability III. inheritance IV. method V. data A. a new class can automatically pick up data and methods of an existing class B. the capability to move a completed solution easily from one type of computer to another C. the ability to apply classes from other projects to a new project D. an object oriented function or behavior E.raw input

B, C, A, D, E

Match each of the following terms to its definition: I. pseudocode II. error handling III. source code IV. binary decision V. variable A. program instructions written in a higher-level language B. text-based approach to documenting an algorithm C. items allocated storage space in RAM D. managing what a program should do if input data are invalid E.can be answered in only two ways (for example, yes/no)

B, D, A, E, C

SQL stands for ____

Structured Query Language

SDLC stands for ____

System Development Life Cycle

__-generation languages use symbols and commands to tell the computer what to do

Third

___ design is a systematic approach that is used to break down a problem into a series of high-level tasks

Top-down

Data are the raw inputs that users have at the start of the job

True

Data-flow diagrams trace all data in an information system from the point at which data enter the system to their final resting places

True

Inheritance means that the data and methods of an existing class can be extended and customized to fit a new class

True

One IDE can often be configured to support many different languages

True

Second-generation languages are also known as assembly languages

True

The program specification is a clear statement of the goals and objectives of the project

True

When programmers need to create several different examples of a class, each is known as an object

True

In the "Making a Plan" step of the PDLC, a(n) ________ is written in natural, ordinary language describing exactly what the computer program is to do

algorithm

In the ________ phase of the SDLC, exploration of the depth of a problem and development of program specifications take place

analysis

Most browsers can execute Java ________, which are small Java-based programs

applets

Corona and Magmito can be used to develop ___

apps for smartphones

SQL is an example of a ________. A) 2GL B) 3GL C) 4GL D) 5GL

C) 4GL

28) Which of the following would NOT be used to build websites with interactive capabilities? A) Active Server Pages B) PHP (hypertext preprocessor) C) Fortran D) Java Server Pages

C) Fortran

27) Special symbols called tags are used in which of the following languages? A) C# B) Java C) HTML/XHTML D) C++

C) HTML/XHTML

Which language is the most popular language for writing Apple OS X applications? A) C++ B) HTML C) Objective C D) Java

C) Objective C

What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and opportunity identification D) Development and documentation

C) Problem and opportunity identification

Which of the following is the final stage of the program development life cycle (PDLC)? A) Making the plan B) Coding C) Testing and documentation D) Debugging the code

C) Testing and documentation

___ enables users to define their own data-based tags and facilitates exchange of information between websites. A) HTML B) XHTML C) XML D) PHP

C) XML

The set of specific, sequential steps that describe exactly what a computer program must do to complete the work is called a(n) ________. A) flowchart B) structure chart C) algorithm D) pseudocode

C) algorithm

Before its final commercial release, a(n) ________ version of software may be offered to certain test sites or to interested users free or at a reduced cost. A) gamma B) release to manufacturers (RTM) C) beta D) general availability (GA)

C) beta

An integrated development environment (IDE) is a ________. A) program that helps interpret code B) tool that converts one programming language into a different programming language C) collection of tools that helps programmers write and test their programs D) program that translates code into binary 1s and 0s and ignores comments

C) collection of tools that helps programmers write and test their programs

The process that converts program code into machine language is called ________. A) documentation B) variable declaration C) compilation D) execution

C) compilation

A loop decision point consists of three features: an initial value, a set of actions to be performed, and a(n) ________. A) class B) operator C) test condition D) testing plan

C) test condition

Match each of the following generations to its language: I. 1GL II. 2GL III. 3GL IV. 4GL V. 5GL A. assembly language B. SQL C. machine language D. PROLOG E. COBOL

C, A, E, B, D

The ________ language was introduced in the early 1990s and quickly became popular because its object-oriented model enables programmers to benefit from its large set of existing classes

Java

__ and runtime errors are caught only when a program executes

Logical

__ is not actual programming code but uses words to describe the algorithm

Pseudocode

In object-oriented terms, an original class is called the ________ class

base

In a(n) ________ system, each step is dependent on the previous step

waterfall

A(n) ________ error is caused by not following the strict, precise set of rules for a specific programming language

syntax

HTML uses special symbols called ________ to control how information is displayed on the web

tags

Bottom-up design is a systematic approach in which a problem is broken into a series of high-level tasks

False

During the program debugging stage, the people who will use the program test the software

False

PROLOG is an example of a fourth-generation programming language

False

Syntax errors are caught only when a program executes

False

The flowchart shape for input or output is an oval

False

The standard set of vocabulary for pseudocode is specific and detailed

False

The acronym HTML stands for __

Hypertext Markup Language

IDE stands for __

Integrated Development Environment

The process of running a program over and over to find errors and make sure the program behaves in the way it should is known as __

debugging

In object-oriented terms, a new, modified class is called the ________ class

derived

The flowchart shape for a binary decision is a(n) ___

diamond

A(n) ________ program is the binary sequence that has been translated from source code by a compiler for use by the CPU

executable

A(n) ________ is a visual diagram of a process that includes any decisions that are made along the way

flowchart

A(n) ________ translates source code into an intermediate form, line by line

interpreter

A(n) ________ is a control structure that continues to be performed while a test condition is true

loop

When a large project begins, a programmer can build a(n) ________, which is a small model of what the final program will look like when it is finished

prototype

A small Java-based program is called a ________. A) Java class B) JSP C) JavaScript D) Java applet

D) Java applet

____ is the instructions programmers have written in a higher-level language. A) Executable code B) Base code C) Compiled code D) Source code

D) Source code

In object-oriented programming, ________ allows a new class to automatically use all the data and methods of an existing class. A) reusability B) regression C) scalability D) inheritance

D) inheritance

Match each of the following steps of SDLC development to its position in the development process. I. development II. design III. analysis IV. testing and installation V. problem/opportunity identification A. first step B. second step C. third step D. fourth step E.fifth step

D, C, B, E, A

Match each of the following terms to its definition: I. source code II. syntax III. compiler IV. interpreter V. operator A. program that translates code into binary 0s and 1s and ignores comments B. agreed-on set of rules defining how the language must be structured C. translates source code line by line into an intermediate form D. coding symbol that represents a fundamental action of a language E.programmers' instructions written in a higher-level language

E, B, A, C, D

__ is the part of the problem statement that describes what a program should do if the input data is invalid

Error handling

A compiler translates the source code into an intermediate form, line by line

False

A data-flow diagram provides a visual representation of an algorithm

False


Ensembles d'études connexes

ACC 421 - Chp 18: Audit of the Acqusition & Payment Cycle

View Set

Addison, Cushing, Hypothyroid, Hyperthyroid,

View Set

Test Review - Quadratic Equations

View Set

CCHS 9th Literature/Comp , CCHS GA-Foundations of Algebra , CCHS Health and Personal Fitness ( 1 full credit) , CCHS Introduction to Business and Technology, 6/21 (SECOND)

View Set

Labor Pain Mgt and Fetal Assessment_EAQ

View Set