Search Header Logo

CRYPTERS-ROUND-2

Authored by ANIMESH Chennai

Other

University

Used 3+ times

CRYPTERS-ROUND-2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following declaration is not supported by C language?

String str;

char *str;

float str = 3e2;

Both String str; & float str = 3e2;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to prevent any changes in the variable within a C program?

immutable

mutable

const

volatile

Answer explanation

const is a keyword constant in C program.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of iteration in C?

for

while

do-while

all of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of following is not accepted in C?

static a = 10; //static as

static int func ; //parameter as static

static static int a; //a static variable prefixed with static

all of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is meant by ‘a’ in the following C operation?

Fp = fopen(“Random.txt”, “a”);

Attach

Append

Apprehend

Add

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A normal queue, if implemented using an array of size MAX_SIZE, gets full when?

Rear = MAX_SIZE – 1

Front = (rear + 1)mod MAX_SIZE

Front = rear + 1

Rear = front

Answer explanation

When Rear = MAX_SIZE – 1, there will be no space left for the elements to be added in queue. Thus queue becomes full.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not the type of queue?

Ordinary queue

Single ended queue

Circular queue

Priority queue

Answer explanation

Queue always has two ends. So, single ended queue is not the type of queue

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?