BRAIN BUSTERS (ROUND2)

BRAIN BUSTERS (ROUND2)

University

20 Qs

quiz-placeholder

Similar activities

Round 2

Round 2

University

15 Qs

C Coding Contest Round 1

C Coding Contest Round 1

University

25 Qs

C++ Assesment 1

C++ Assesment 1

University

20 Qs

Arduino - základná syntax

Arduino - základná syntax

University

17 Qs

Ujian Semester Pemprograman Dasar

Ujian Semester Pemprograman Dasar

University

20 Qs

Fundamentos de programacion

Fundamentos de programacion

University

21 Qs

Uces- Simulacro Parcial 1

Uces- Simulacro Parcial 1

University

20 Qs

coding beast set 2

coding beast set 2

University

20 Qs

BRAIN BUSTERS (ROUND2)

BRAIN BUSTERS (ROUND2)

Assessment

Quiz

Education

University

Hard

Created by

Harshitha Balivada

Used 1+ times

FREE Resource

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

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?