Prime numbers
Fibonacci sequence
Even numbers
Odd numbers
Rectangle
Parallelogram
Circle
Diamond
1 to n
2 to n-1
1 to √n
2 to √n
All the above
Input/Output
Decision
Arithmetic instruction
Start/Stop
Execution
Statement
All of the above
Square
Triangle
Better programming
easy testing and debugging
Efficient Coding
All
A is preferable because it terminates
B is preferable because correctness is fundamental
Both satisfy algorithm correctness
Both violate essential properties of algorithms
Sequence
Branch
Loop
Condition
A Circle
A Diamond
Processor and memory
Complexity and capacity
Time and space
Data and space
Control flow
Terminal
Processing
Oval
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
Decision-based processing
Sequential processing
Iterative processing with variable update
Randomized processing
0
1
2
N
arrow
circle
box
parallelogram
Iteration and sequential arithmetic
Recursion
Decision-only processing
Sorting
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
8
Sub Function
Reverse Polish Notation
Traversal Algorithm
Performance
Algorithmic Representation
Evaluation
Flowcharting
Process
None of these
program
Flowchart
statement
Algorithm
Correctness and finiteness only
Finiteness and efficiency only
Correctness, finiteness, and clarity
Correctness and hardware dependency
Design
Palnning
pseudo codes
syntax
flowcharts
programs
square
Both A and B
Finiteness
Effectiveness
Definiteness
Generality
Looping
Selective
None
A flowchart
Step by step instructions used to solve a problem
A flowchart or pseudo code
A decision
Use of multiple terminators
Absence of comments
Use of rectangles instead of parallelograms
A decision block with paths that do not reconverge logically
Arrow
Program
Flow chart
Parallel processing
Decision processing
Iterative processing
Syntax error
Logical error
Compilation error
Infinite loop
Input/Output, Decision, Repeat
Input, Output, Process
Loop, Input/Output, Process
Sequence, Selection, Repeat
Micro
Union
Macro
Stack
integer a,bset a=9,b=5a=a mod(a-3)b=b mod(b-3)print a+b
5
9
Adjacent indices
First and last, second and second-last, etc.
Random indices
Even indices only
1 and itself
1 and 2
All numbers
2 and itself
Counter
Factorial value
Input number
Loop limit
stack
macro
micro
union
Input/Output operation
Processing step
Decision making
Loop termination
Uses minimum symbols
Has only one loop
Produces correct output for all valid inputs
Uses standard variable names
i > j
i < j
i ≤ j
i = j