Study Flashcards

1
Q

Use Case

A

describes a singular goal of one user and briefly outlines how they will accomplish the goal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

models how a user interacts with a program

A

Use Case Diagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Class Diagram

A

models the classes, or objects of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Sequence Diagram

A

interaction between software components and order of events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Activity diagram

A

a flowchart of an activity (loop, function, etc.) within the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Compiled Languages

A

C
C++
Java
C#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Interpreted Languages

A

Python
JavaScript
MATLAB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Statically Typed Languages

A

C
C++
Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Dynamically Typed Languages

A

Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Statically typed

A

languages are considered safer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

dynamically typed

A

considered easier to use and require fewer variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

4 parts of SDLC

A

Analysis - Design - Implementation - Testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

assigns a variable with a value, such as x = 5

A

Assignment Statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

declares a new variable, specifying the variable’s name and type.

A

variable declaration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

hold whole number values, like 1, 999, 0, or -25

values that are counted, like 42 cars, 10 pizzas, or -95 days.

A

Integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A name created by a programmer for an item like a variable or function

A

Identifier

17
Q

word that is part of the language, like integer, Get, or Put. A programmer cannot use a reserved word as an identifier

A

Reserved Word

18
Q

refers to the decimal point being able to appear anywhere (“float”) in the number.

values that are measured, like 98.6 degrees, 0.00001 meters, or -666.667 grams.

used when dealing with fractions of countable items, such as the average number of cars per household.

A

float

19
Q

A string is a sequence of characters, like “Hello” or “The forecast for today is sunny with highs of 75F.”.

A

string

20
Q

used in programs to hold the value of mathematical or physical constants, such as Pi, the speed of light, or kilograms per pound.

value item that holds a value that cannot change

ex. SOUND_SPEED is a float constant holding the speed of sound at sea level in miles/hour

A

Constant

21
Q

a loop that repeatedly executes the loop body while the loop’s expression evaluates to true

Number of iterations is not (easily) computable before the loop, like iterating until the input is ‘q’.

A

while loop

22
Q

loop consisting of a loop variable initialization, a loop expression, and a loop variable update that typically describes iterating for a specific number of times.

Number of iterations is computable before the loop, like iterating N times.

A

for loop

23
Q

a loop that first executes the loop body’s statements, then checks the loop condition

useful when the loop should iterate at least once

A

do-while loop