ALGORITHM AND C PROGRAMMING QUIZ

Quiz
•
Computers
•
University
•
Medium

Gagana M
Used 53+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is incorrect?
Algorithms can be represented:
as pseudo codes
as syntax
as programs
as flowcharts
Answer explanation
Explanation: Representation of algorithms:
-As programs
-As flowcharts
-As pseudo codes.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Algorithm must be :
CORRECT
EFFICIENT
BOTH A AND B
NONE
Answer explanation
OPTION C
Algorithm must be :
correct: for each input produce an appropriate output
efficient: run as quickly as possible, and use as little memory as possible
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
TO ANALYSE ALGORITHMS THE IMPORTANT ASYMPTOTIC NOTATIONS USE ARE :
BIG-OH-NOTATION[Ο]
OMEGA-NOTATION[Ω]
THETA-NOTATION[θ]
ALL THE ABOVE
Answer explanation
OPTION D
There are three different notations: big O, big Theta (Θ), and big Omega (Ω).
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
WHILE ANALYZING ALGORITHM
EFFICIENCY OF AN ALGORITHM CAN BE ANALYZED BY:
PRIORI ANALYSIS
POSTERIOR ANALYSIS
BOTH A AND B
NONE
Answer explanation
OPTION C
While a priori analysis helps us make initial decisions and choose the most promising algorithm
A posteriori analysis provides a practical evaluation of the algorithm's performance
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
TESTING A PROGRAM CONSISTS OF TWO MAJOR PHASES WHICH ARE
AVERAGE CASE AND WORST CASE
TIME COMPLEXITY AND SPACE COMPLEXITY
VALIDATION AND CHECKING ERRORS
DEBUGGING AND PROFILING
Answer explanation
OPTION D
DEBUGGING- IT IS THE PROCESS OF EXECUTING PROGRAMS ON SAMPLE DATA SETS THAT DETERMINE WHETHER WE GET PROPER RESULTS
PROFILING- IT IS THE PROCESS OF EXECUTING A CORRECT PROGRAM ON ACTUAL DATA SETS AND MEASURING THE SPACE AND TIME IT TAKES TO COMPUTE THE RESULTS DURING THE EXECUTION
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
FULL FORM OF ASCII
AMERICAN STABLE CODE FOR INTERNATIONAL INTERCHANGE
AMERICAN STANDARD CASE FOR INSTITUTIONAL INTERCHANGE
AMERICAN STANDARD CODE FOR INTERCHANGE INFORMATION
AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
THE ASCII VALUE OF DIGITS [0 TO 9] RANGES FROM?
65 TO 90
0 TO 255
48 TO 57
65 TO 90
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Data Communications 1

Quiz
•
University
10 questions
RVS_Tech_quizz_even2024-25

Quiz
•
University
20 questions
Quiz 1_DSA

Quiz
•
University
20 questions
Quiz Competition on Technology

Quiz
•
University
15 questions
GK Quiz

Quiz
•
University
10 questions
Computing Systems

Quiz
•
9th Grade - Professio...
17 questions
Cheese

Quiz
•
KG - Professional Dev...
15 questions
Chapter 8 - Memory Management Strategies

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade