What will be the output of the following pseudo code?
integer a,bset a=9,b=5a=a mod(a-3)b=b mod(b-3)print a+b
4
5
9
8
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
Rectangle
Oval
Parallelogram
Diamond
Processor and memory
Complexity and capacity
Time and space
Data and space
square
Both A and B
Circle
Micro
Union
Macro
Stack
Control flow
Terminal
Processing
Decision
stack
macro
micro
union
1 and itself
1 and 2
All numbers
2 and itself
Input/Output
Arithmetic instruction
Start/Stop
pseudo codes
syntax
flowcharts
programs
A flowchart
Step by step instructions used to solve a problem
A flowchart or pseudo code
A decision
Input/Output, Decision, Repeat
Input, Output, Process
Loop, Input/Output, Process
Sequence, Selection, Repeat
Performance
Algorithmic Representation
Evaluation
Flowcharting
Process
Statement
Program
Flow chart
All the above
program
Flowchart
statement
Algorithm
Sequential processing
Parallel processing
Decision processing
Iterative processing
Sub Function
Recursion
Reverse Polish Notation
Traversal Algorithm
Arrow
Prime numbers
Fibonacci sequence
Even numbers
Odd numbers
Sequence
Branch
Loop
Condition
Better programming
easy testing and debugging
Efficient Coding
All
arrow
circle
box
parallelogram
Square
Triangle
Execution
All of the above
Integer a,bset a=10,b=5a=a mod(a-6)b=b mod(b-2)print a-b
0
1
None of these
Design
Palnning
Looping
Selective
None
A Circle
A Diamond