DSA Quiz 1

DSA Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

DS(Part2)-After

DS(Part2)-After

University

11 Qs

Array in C

Array in C

University

10 Qs

DSA Launchpad 2.0

DSA Launchpad 2.0

University

10 Qs

Analisis Struktur Data

Analisis Struktur Data

10th Grade - University

12 Qs

Introduction of Data Structure

Introduction of Data Structure

University

9 Qs

DSA - 2a

DSA - 2a

University

8 Qs

Quiz 1

Quiz 1

University

8 Qs

Computer Programming (Lab)

Computer Programming (Lab)

University

10 Qs

DSA Quiz 1

DSA Quiz 1

Assessment

Quiz

Computers

University

Hard

Created by

MANJU VERMA

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

#include<stdio.h>

void main()

{

   int s=0;

   while(s++<10)

   {

      if(s<4 && s<9)

         continue;

      printf("\n%d\t",s);

   }

}

1 2 3 4 5 6 7 8 9

1 2 3 10

4 5 6 7 8 9 10

4 5 6 7 8 9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array passed as an argument to a function is interpreted as

Address of the array

Values of the first elements of the array

Address of the first element of the array

Number of element of the array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pushdown list means

Stack

Queue

Linked list                

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The memory address of first element of array is called

floor address

foundation address

first address

base address

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The expression 4+6/3*2-2+7%3 evaluates to

3

4

6

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear list in which element can be added or removed at either end, but not in the middle is called:

Circular Queue

Priority Queue         

Deque

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the characters 'D', 'C', 'B', 'A' are placed in a queue (in that order), and then removed one at a time, in what order will they be removed?

ABCD

ABDC

DCAB

DCBA

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?