1st EXAM Flashcards

1
Q

Is a step by step method of solving a problem. It is commonly used for data processing, calculation, and other related computer and mathematical operations.

A

Algorithm

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

Oblong

A

terminal

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

Parallelogram

A

Input/Output operation

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

Rectangle

A

Process

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

Hexagon

A

Initialization

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

Is an informal program description that does not contain code syntax or underlying technology considerations. It summarizes the program flow but excludes underlying programming details

A

Pseudocode

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

Is a graphical representation of an algorithm. It is usually drawn using certain special-purpose symbols connected by arrows called flow lines.

A

Flowchart

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

Rectangle (another)

A

Pre-defined Process

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

Circle pero naay triangle sa ubos na upside-down

A

Off-page connector

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

Circle

A

On-page connector

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

Diamond

A

Decision

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

Arrow, Two headed arrow, small arrow heads.

A

Flow lines

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

==

A

Equal to

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

!=

A

not equal to

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

<

A

Less than

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

<=

A

Less than or equal to

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

>

A

Greater than

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

> =

A

Greater than or equal to

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

!

A

not

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

&&

A

And

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

||

A

Or

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

raise to power

A

pow (base, exponent)

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

compute the square root

A

sqrt(expression)

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

arctan of an angle

A

atan(expression)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
compute the cube root
cbrt(expression)
24
find sine of an angle
sin(expression)
25
consine of an angle
cos(expression)
26
tangent of an angle
tan(expression)
27
arcsine of an angle
tan(expression)
28
arccosine of an angle
acos(expression)
29
returns exponential value (Euler's number); e*
exp(value)
30
compute natural log
log(value)
30
round down a value
floor(expression
31
compute common log
log10(value)
32
round up a value
ciel(expression)
33
compute remainder of division
fmod(expression)
34
truncate value
trunc(expression)
34
round to nearest
round(expression)
35
returns absolute value; |x|
abs(value)
36
returns 1 if the sign of the argument is negative, else returns 0
signbit(value)
37
pi
M_PI
38
e
M_E
39
An integer is a numeric literal (associated with numbers) without any fractional or exponential part. Example. 120, -90, etc.
Int:
39
It is a double-precision floating point value. Example: 11.22, 2.345
Double:
40
A character literal is created by enclosing a single character inside single quotation marks. For example: ‘a’, ‘m’, ‘F’, ‘P’, ‘}’ etc.
Char:
40
A floating-point literal is a numeric literal that has either a fractional form or an exponent form. For example: 1.3, 2.6
Float:
40
A string literal is a sequence of characters enclosed in double-quote marks. For example: “How are you?”
String Literals:
40
It holds Boolean value true or false.
Bool:
41
FIRST GENERATION COMPUTER:
Vacuum Tubes (1940–1956)
42
the first general-purpose programmable electronic computer, was completed in 1945 and introduced on February 14, 1946. It was built by engineer J. Presper Eckert and John V. Mauchly at the University of Pennsylvania.
The ENIAC,
42
The vacuum tube, invented in 1904 by British engineer
John Ambrose Fleming
43
THIRD GENERATION COMPUTER:
Integrated Circuits (1964-1971)
44
FOURTH GENERATION OF COMPUTER:
Microprocessor (1971-Present)
45
1. Which of the following was a primary use for the early first-generation computers? A) Scientific Calculations B) Word Processing C) Web Browsing D) Email Communication
A) Scientific Calculations
46
3. Which of the following is a famous early computer that used vacuum tubes? A) UNIVAC B) ENIAC C) Apple II D) IBM PC
B) ENIAC
46
2. Who invented the vacuum tube? John Fleming Thomas Edison Steve Jobs Bill Gates
John Fleming
47
5. What is the main function of a microprocessor in a computer? Store files B) Play music C) Control the computer’s operations D) Display pictures
C) Control the computer’s operations
47
4. What replaced vacuum tubes in the next generation of computers? Transistors Microprocessors Light Bulbs Batteries
A) Transistors
48
6. Which of these terms refers to a computer's ability to do many tasks at once? A) Speed B) Versatility C) Size D) Cost
B) Versatility
49
7. Which of the following is NOT a computer part? Monitor B) Keyboard C) Bicycle D) Mouse
C) Bicycle
49
8. Which of these computers was one of the first to be sold to the public? A) ENIAC B) UNIVAC C) Apple II D) PDP-8
C) Apple II
50
9. Which of these is a type of memory used in computers? A) Magnetic Tape B) Notebook C) Paper D) Marker
A) Magnetic Tape
51
10. Which of the following was a primary use for the early first-generation computers? Scientific Calculations Word Processing Web Browsing Email Communication
Scientific Calculations