What will be the output of the following algorithm for a=5, b-8, c=6 ?
Step 1: Start Step 2: Declare variables a, b and c. Step 3 Read variables a, b and c. Step 4: If a < b If a <c Display a is the smallest number. Else Display c is the smallest number. Else If b <c Display b is the smallest number. Else Display c is the smallest number Step 5:Stop
a is the smallest number
b is the smallest number
c is the smallest number
stop
program
Flowchart
statement
Algorithm
Input/Output, Decision, Repeat
Input, Output, Process
Loop, Input/Output, Process
Sequence, Selection, Repeat
Oval
Rectangle
Arrow
Diamond
Statement
Program
Flow chart
All the above
Design
Palnning
Execution
Terminal
Process
Input/Output
Decision
Performance
Algorithmic Representation
Evaluation
Flowcharting
Circle
Parallelogram
All of the above
Better programming
easy testing and debugging
Efficient Coding
All
Sub Function
Recursion
Reverse Polish Notation
Traversal Algorithm
Control flow
Processing
Micro
Union
Macro
Stack
What will be the output of the following pseudo code?
Integer a,bset a=10,b=5a=a mod(a-6)b=b mod(b-2)print a-b
4
0
1
8
integer a,bset a=9,b=5a=a mod(a-3)b=b mod(b-3)print a+b
5
9
Processor and memory
Complexity and capacity
Time and space
Data and space
A flowchart
Step by step instructions used to solve a problem
A flowchart or pseudo code
A decision
square
Both A and B
arrow
circle
box
parallelogram
A Circle
A Diamond
pseudo codes
syntax
flowcharts
programs
stack
macro
micro
union
Loop
None of these
Looping
Selective
Sequence
None
Arithmetic instruction
Start/Stop
Square
Triangle