ALGORITHM AND C PROGRAMMING QUIZ

ALGORITHM AND C PROGRAMMING QUIZ

University

15 Qs

quiz-placeholder

Similar activities

GIT Workshop 2021

GIT Workshop 2021

University

20 Qs

Digital Etiquette

Digital Etiquette

4th Grade - University

15 Qs

Què has après sobre el web ?

Què has après sobre el web ?

University

10 Qs

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

data structures1

data structures1

University

20 Qs

Week 5: Test your understanding part 1

Week 5: Test your understanding part 1

University

20 Qs

The AI Shield

The AI Shield

University

15 Qs

UAS PTIK D 2020 TOPIK KHUSUS MULTIMEDIA

UAS PTIK D 2020 TOPIK KHUSUS MULTIMEDIA

University

20 Qs

ALGORITHM AND C PROGRAMMING QUIZ

ALGORITHM AND C PROGRAMMING QUIZ

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Gagana M

Used 53+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers