COMP AND ENSC MT Flashcards

1
Q

It is a visual representation of an algorithm. It contains shapes describing how an algorithm or program operates.

A

Flowchart

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

It is used to indicate the direction of the process flow by connecting other shapes. Arrows should not cross each other.

image:

———–>

A

Flow lines

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

It is used to represent the beginning or end of a program.

image:

oval

A

Terminal block

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

It is used to represent a process step or activity, such as computation, initialization, etc.

image:

rectangle

A

Process

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

This represents the data used as inputs or outputs, such as user input and display text.

image:

parallelogram (slant rectangle)

A

Data

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

This indicates a decision operation in the process, where there are two alternatives: True or False

image:

Rhombus (4 sides quadrilateral/diamond)

A

Decision block

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

Used as a connector to combine flow lines by indicating an identifier, such as letters. This is used for complex algorithms.

image:

circle

A

Connector

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

It is a visual modeling language that provides a visual means of developing and documenting object-oriented software and systems.

A

Unified Modeling Language (UML)

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

Components of Use-Case Diagrams

A

Actor
Use-Case
Subject Boundary Box
Association Relationship
Include Relationship
Extend Relationship
Generalization Relation

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

A ______ is a person or a system that represents the role of someone interacting with the system or software and is the user of the system.

A

Actor (stickman)

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

A _____ represents the functionality of a system.

A

Use-Case (oval)

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

A ________ represents the system’s scope to which a set of use-cases are applied.

A

Subject Boundary Box (rectangle)

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

An _______ is a line between the actor and use-case. This specifies that the actor interacts with the system and uses a certain functionality.

A

Association Relationship (straight line)

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

An __________ is a directed relationship between two (2) use-cases when required.

A

Include Relationship (written as: «include»)

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

An ______ indicates optional functionality under a certain use-case.

A

Extend Relationship (written as «extend»)

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

A _____ represents a specialized use-case more generalized one. It is like a generalization between classes.

A

Generalization Relationship (drawn as arrow with head <—– towards the starting oval near actor)

17
Q

A high-level programming language that was developed by Sun Microsystems for general-purpose business applications and interactive, web-based Internet applications. Itcan be used to write programs that run on any operating system or device.

A

Java

18
Q

An environment that translates Java bytecode (compiled format for Java programs) into machine language and executes it.

A

Java Environment Machine (JVM)

19
Q

Programming statements are written in a high-level language. This is created using a text editor or a development environment.

A

Source Code

20
Q

A set of tools that help write programs easily, such as NetBeans. The statements are saved in a file. Then, the Java compiler converts the source code into a binary program of bytecode. The Java interpreter then checks the bytecode and communicates with the operating system, executing the bytecode instructions line by line within the Java Virtual Machine.

A

Development Environment

21
Q

Two types of Java Program

A

Application
Applet

22
Q

It supports character output to a computer screen in a DOS window.

A

Console Application

23
Q

It creates a GUI with elements such as menus, buttons, dialog boxes, etc.

A

Windowed Application

24
Q

This is a stand-alone program.

A

Application

25
Q

It is a program embedded in a Web page. It runs in a browser.

A

Applet

26
Q

________ or keywords have special predefined meanings and cannot be used in naming variables, classes, methods, or identifiers. The Java language designates certain keywords that the compiler recognizes as reserved words

A

Reserved Words

27
Q

It is used to specify the set of values and their operations. The values have data types because they are stored in memory in the same format and have the same operations defined for them.

A

Data Type

28
Q

It’s the fundamental data type in Java. These are predefined data types by the language and named by a keyword.

A

Primitive Data Type

29
Q

What is OOP?

A

Object-Oriented Program