Cpex Reviewer
Cpex Reviewer
of a microprocessor-based instrument.
Computer Fundamentals and Programming
Locator is a program used to assign the specific
Program is a set of instructions that a computer
address of where the segments of
follows to perform a task. It is also
object code are to be loaded into
commonly referred to as software.
memory. EXEBIN file
Software is a set of instructions, data or
Linker is a program used to join several object
programs used to operate computers
files into one large object file. The linker
and execute specific tasks.
produces a link file which contains the
Hardware refers to all of the physical devices, or binary codes for all the combined
components, that a computer is made modules
of.
Editor is a program which allows you to create a
Computer - is an electronic machine that file containing the assembly language
accepts information (DATA), process it statements for your program.
according to specific instructions and
Debugger is a program which allows you to load
provide the result as new information.
your object code program into system
Secondary Storage Device - Refers to any non- memory, execute the program and
volatile storage device that is internal or troubleshoot or debug it
external to the computer. It can be any
Microprocessor accepts number of input lines,
storage device beyond the primary
process it accordingly and provides lines
storage that enables permanent data
of output. CPU itself.
storage.
Microcontroller is a computer present in a
Bus System / Bus - Common pathway or
single integrated circuit which is
physical medium through which
dedicated to perform one task and
information flows from one computer
execute one specific application.
component to another. Clock is the
Contains CPU, IO Interfaces, Memory.
speed at which a microprocessor
executes instructions. Data Transfer - These instructions are used to
transfer the data from the source
Assembler program is used to translate the
operand to the destination operand.
assembly language mnemonics for
instructions to corresponding binary Load Instruction – moves data from memory to
codes. register.
Compiler is used to translates high level Store Instruction – moves data from register to
language to low level language memory.
Interpreter reads and execute program Move Instruction – moves data from register to
instructions register
Decimal Number System (Base 10 or n10) The three (3) basic processes are:
0,1,2,3,4,5,6,7,8,9
INPUT > PROCESS > OUTPUT (IPO)
Binary Number System (Base 2 or n2 ) 0,1
Octal Number System (Base 8 or n8 ) Analyze the problem and develop the
0,1,2,3,4,5,6,7 specification
Hexadecimal Number System (Base 16 or n16) Design a solution
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Code the program
1 nibble = 4 bits
Test the program
1 byte = 8 bits Validate the program
1 word = 16 bits
Algorithm is a list of instructions for carrying out
1 long word = 32 bits
some processes steps by step (La Putt). It is a
finite set of instructions that specify a sequence
1 bit = 0.125 bytes of operations to be carried out in order to solve
1 kB – 1,000 bytes a particular problem (Zwass, Vladimir).
1 MB – 1,000,000 bytes
It has input, performs a process, and
1 GB – 1,000,000,000 bytes gives output
Must be clear and unambiguous
Time of download: in seconds Must correctly solve a problem
File size (Megabytes) / (Download Speed in Can be followed with paper and pencil
Megabits/8) Must execute in a finite number of steps
Which of the following represented by HTTP -
Hyper Text Transfer Protocol
Flowchart is a diagram representing the logical C++ Programming: Variables and Constants
sequence in which combination of steps or
Local Variable – within function
operations is to be performed.
Global Variable – within source code
Parallelogram – input/output Constants – fixed values
Rectangle – process Character – enclosed in ‘ ‘
Diamond/Rhombus – decision making String – enclosed in “ “
Hexagon – preparation String Literals – adding \ at the end to
Oval – terminal extend the line
Circle – connect symbol in same page
C++ Programming: Escape Characters
Pentagon – connect symbol in other
page \n = New Line
\r = Carriage Return
C++ Programming: Environment
\t = Tab Stop
// Comment \v = Vertical Tab
/* */ Comment Block \b = Back Space
# Directive \f = Form Feed (Page Feed)
main() Main function of the program \a = Alert (Beep)
{} Begin/End \’ = Single Quote (‘)
cin>> Input \” = Double Quote (“)
cout<< Output \? = Question Mark (?)
\\ = Back Slash (\)
C++ Programming: Data Types
C++ Programming: Operators
char (Character or Small Integer) – 1
byte Assignment Operator (=)
int (Integer) – 4 bytes Addition (+)
Bool (Boolean) – 1 byte Subtraction (-)
float (Floating Point Number) – 8 bytes Multiplication (*)
double (Double Precision Floating Point Division (/)
Number) – 8 bytes Modulo (%)
C++ Programming: Compound Assignment C++ Programming: Iteration/Looping Structure
Operators
While Loop - It repeats the statements
A += 5 A=A+5 while the condition set in expression is
A -= 5 A=A-5 true. while (expression) statement;
A*=5 A=A*5 Do Loop - The same as while loop
A/=5 A=A/5 except that the condition is evaluated
OR law - These laws use the OR operation. an encoder. It is a combinational circuit that
Therefore they are called as OR laws. converts n lines of input into 2n lines of output.
information in a more desirable form. It may be Continuous-Time Signals - Specified for every
done through a computer, special purpose IC, or value of time; whereas x(t)
an analog electrical circuit.
Complex Signals - signals that is reflected in the
DIGITAL SIGNAL PROCESSING - Process of complex plane
analyzing and modifying a signal. Improves
Discrete-Time Signals - Specified at discrete
efficiency and performance and it applies
time intervals whereas x[n]
mathematical and computational algorithms to
produce high quality signals. Analog Signals - x(t) where { x(t) | x(t) E Z }
Periodic Signals - repeats itself after a regular Objects - A person, place, thing, event, concept,
interval screen or report. Pieces of data
Aperiodic Signals - any signal that is not Encapsulation - Grouping of related concepts
periodic into one item, such as a class or component.
Energy Signals - any signal such that 0 < E(t) < Public vs Private.
Inf and so P = 0 Inheritance - Represents “is a”, “is like” and “is a
Power Signals - any signal such that 0 < P(t) < Inf kind” relationship. Can overlap. Ancestor and
Reduces Complexity - dividing the big ones into 6. MAINTENANCE - Developed product is
method reduces the large number of codes over WATERFALL MODEL - Simplest model of SDLC
cost. wherein all phases will lineup after another.
Decrease Time – no wasted time when Once finished, there’s no going back.
Handling Huge Projects – following the steps process of development in cyclic manner
and applying patience specially in planning and repeating every step after every cycle of SDLC
managing. process.
specification into implementation. is required to code and how to code it. It helps
the programmer to write error-free code.
ENGINEERING SCIENCE
What are found in the nucleus of an atom? 9. What is a substance that cannot be
broken down into simpler substances?
1. What are found in the nucleus of an
atom? Element
21. A negatively charged ion which results another term for caustic soda?
when an electron is added to an atom is called
Sodium Hydroxide
Anion
29. What element is used as a coating for
22. The elements with similar properties iron to make galvanized iron a corrosion-
are placed in columns of the periodic table. resistant material?
These columns are commonly
Zinc
called .
30. What element is used in advertising
Groups of Families signs?
Alkali Metals
31. What are the main energy levels where
the valence electrons belong
called?
Valence shells
Representative/s
Increases