D278 - Exam Prep

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/62

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.

63 Terms

1
New cards

What does a programmer do first to use an existing programming library?

Include the library

2
New cards

What relationship is common among a programming library's functions?

Functions all relate to the same purpose.

3
New cards

What is an advantage of using a programming library?

The code has already been tested.

4
New cards

Which language is dynamically typed?

Python

5
New cards

Which language is not built on object-oriented design principles?

C

6
New cards

A language substantially supports a programmer creating items like person, teacher, and students. Each item has internal data and some operations.

7
New cards
8
New cards

Which characteristic describes that language?

Object-oriented

9
New cards

A programmer wants a compiler to report an error if an integer variable is assigned with a string.

10
New cards
11
New cards

Which type of language should the programmer use?

Statically Typed

12
New cards

A language uses tags around text to indicate how that text should be formatted.

13
New cards
14
New cards

Which characteristic describes a language having such tags?

Markup

15
New cards

What is a characteristic of compiled language?

Converts to machine language before running

16
New cards

What is a characteristic of interpreted programs?

They can be modified at run time

17
New cards

Which characteristic specifically describes a markup language?

Tags surround text to describe desired formatting

18
New cards

Which characteristic specifically describes interpreted language?

They can run on any machine having the right interpreter

19
New cards

Which data type is used for items that are measured in length?

Float

20
New cards

What is the purpose of parentheses () in a programming expression?

To group expressions

21
New cards

Which data type should be used to keep track of how many planes are in a hanger?

Integer

22
New cards

What is a valid user-defined function name?

Variable identifier

23
New cards

What is the return value of a function?

Output of a function

24
New cards

When should a programmer develop an algorithm to solve a problem?

Before writing a program to solve the problem.

25
New cards

Which phase of a waterfall approach would create a sequence diagram that specifies the required order of events between completed program components?

Testing

26
New cards

Which phase of an agile approach would define a hypothesis to find a problem in a program?

Testing

27
New cards

Which phase of an agile approach would create an executable program?

Implementation

28
New cards

Which phase of an agile approach would create a list of components needed to build an online auction site?

Design

29
New cards

Which phase of a waterfall approach defines a program's goals?

Analysis

30
New cards

Hierarchical Debugging

Dividing the statements into regions and inserts one debug output statements after each region

31
New cards

What is a coding library?

a set of pre-written functions that carry out common tasks, that programmers can use to improve productivity.

32
New cards

Define Library Functions

Functions that relate to the same purpose (i.e., teacher, student, grades)

33
New cards

What is a characteristic of a Markup Language?

Allows a developer to describe a document's content, formatting

34
New cards

What is the main characteristic of Object-Oriented Language

It supports decomposing programs into objects (C++, Java, Python, C#)

35
New cards

What is the main characteristic of Interpreted/Scripting Language

It runs sequential statements by another program called an interpreter (Python, Javascript)

36
New cards

What is the main characteristics of a Compiled Language?

A program which is converted by a compiler into machine code which runs on particular machines (C++, Java)

37
New cards

What is SDLC?

The System Development Life Cycle is the development phases of programs

38
New cards

What is the Waterfall Approach?

A program built by carrying out each SDLC phase in sequence

39
New cards

What are the four phases of SDLC?

Analysis, Design, Implementation, and Testing

40
New cards

What is the Agile (Spiral) Approach?

A program built by doing small amounts of each SDLC phases in sequence, then repeating the process

41
New cards

What does UML mean and what is its definiton?

Univeral Modeling Language is a model for software design that uses different types of diagrams to visualize the structure and behavior of programs

42
New cards

What are the three diagrams that UML consists of?

A structure diagram, a behavioral diagram, a sequence diagram

43
New cards

What is a structural diagram?

it visualizes static elements of software, such as the types of variables and functions used in a program

44
New cards

What is a behavioral diagram?

It visualizes dynamic behavior of a software, such as the flow of an algorithm

45
New cards

What are the two behavioral diagrams of UML?

A case diagram and a sequence diagram

46
New cards

What is the structural diagram of UML?

A class diagram

47
New cards

What is a behavioral Case diagram?

It is used to visually model how a user interacts with a software program

48
New cards

What is a structural class diagram? And what does class mean?

It is used to visually model the classes of a computer program. A class is a code blueprint (flowchart) for creating an object

49
New cards

What is a behavioral sequence diagram?

It shows interactions between software components and indicates the order of events.

50
New cards

What are the equivalent UML diagrams used in SDLC phases?

51
New cards
  1. Analysis
52
New cards
  1. Design
53
New cards
  1. Implementation
54
New cards
  1. Testing

A Case Diagram, a Class Diagram, Flowchart (Activity Diagram), and a Sequence Diagram (respectively)

55
New cards

SDLC - Define the Analysis Phase

Defines a program's goals

56
New cards

SDLC - Define the Design Phase

Defines specifics of how to build a program

57
New cards

SDLC - Define the Implementation Phase

Involves writing the program

58
New cards

SDLC - Define the Testing Phase

Checks that the program correctly meets goals

59
New cards

What is a popular Markup Language?

HTML: describes texts, links, images, and other features

60
New cards

What is a characteristic of Interpreted/Scripting Language

Dynamically typed - changing variables

61
New cards

What is an advantage of Interpreted/Scripting Language

Runs on most machines with an interpreter

62
New cards

What is a characteristics of a Compiled Language?

Statically-typed - constant variable declaration

63
New cards

What is an advantage of a Compiled Language?

Runs faster than interpreted language