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