CRYPTERS-ROUND-2

CRYPTERS-ROUND-2

University

20 Qs

quiz-placeholder

Similar activities

Javapie Quiz

Javapie Quiz

University

20 Qs

execption handling

execption handling

University

17 Qs

Konsep dasar Struktur Data

Konsep dasar Struktur Data

University

20 Qs

CS8391 Data Structure U.II

CS8391 Data Structure U.II

University

15 Qs

Основы Python

Основы Python

University

19 Qs

Round 2- Syntax ShowDown

Round 2- Syntax ShowDown

University

25 Qs

Algo-Unlock

Algo-Unlock

University

20 Qs

Разработка приложений в C# 1 аттестация

Разработка приложений в C# 1 аттестация

University

25 Qs

CRYPTERS-ROUND-2

CRYPTERS-ROUND-2

Assessment

Quiz

Other

University

Hard

Created by

ANIMESH Chennai

Used 3+ times

FREE Resource

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

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?