Search Header Logo

sample

Authored by Computer science

Other

University

Used 1+ times

sample
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

1. Which of the following is not a valid C variable name?

int number;

float rate;

int variable_count;

int $main;

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Which data structure is used for implementing recursion?

a) Stack

b) Queue

c) List

d) Array

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

All keywords in C are in ____________

a) LowerCase letters

b) UpperCase letters

c) CamelCase letters

d) None of the mentioned

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

The data structure required to check whether an expression contains a balanced parenthesis is?

a) Queue

b) Stack

c) Tree

d) Array

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What is the value of the postfix expression 6 3 2 4 + – *?

a) 74

b) -18

c) 22

d) 40

6.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

The data structure required for Breadth First Traversal on a graph is?

a) Array


b) Stack


c) Tree


d) Queue

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What is a bit array?

a) Data structure that compactly stores bits

b) Data structure for representing arrays of records

c) Array in which elements are not present in continuous locations

d) An array in which most of the elements have the same value

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?