Search Header Logo

BRAIN BUSTERS (ROUND2)

Authored by Harshitha Balivada

Education

University

Used 1+ times

BRAIN BUSTERS (ROUND2)
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

1 min • 1 pt

What is the output of the following code snippet?

#include <stdio.h>

int main() {

int a[] = {1, 2, 3, 4};

int sum = 0;

for(int i = 0; i < 4; i++) {

sum += a[i];

}

printf("%d", sum);

return 0;

}

10

20

15

12

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

what is the average Time Complexity of binary search using recursion?

O(nlogn)

O(logn)

O(n)

O(n^2)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following is not the application of the stack data structure

String reversal

Recursion

Backtracking

Asynchronous data transfer

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following code snippet?

#include <stdio.h>

void solve() {

int first = 10, second = 20;

int third = first + second;

{

int third = second - first;

printf("%d ", third);

}

printf("%d", third);

}

int main() {

solve();

return 0;

}

10 30

30 10

10 20

20 10

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is known as a set of entities of the same type that share same properties , or attributes?

Relation set

Tuples

Entity set

Entity Relation Model

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

int number;

float rate;

int variable_count;

int $main;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a function of the database?

Managing stored data

Manuplating data

Security for stored data

Analysing code

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?