Search Header Logo

Glitch Hunting Round-1

Authored by Smart venkey

Computers

University

Used 4+ times

Glitch Hunting Round-1
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

#include <stdio.h>

int main() {

printf("Hello Everyone");

printf("/n Welcome to \t Event");

return 0;

}

Hello Everyone/n Welcome to Event

Hello Everyone

/n Welcome to \t Event

Welcome to Event

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

choose the invalid declerations for int a,

i)int a;a=10*3+1;

ii)int a =100;

iii) int a=10,b;

iv)int a,b;a+b=100;

i, iii

i, ii

iii

iv

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

output for given code

#include <stdio.h>

int main() {

   int i;

   i=printf("2024")||printf("EPICS 2024");

   printf(" %d",i);

    return 0;

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

output for given code

#include <stdio.h>

int main() {

int i;

i=printf("%d",4/2+3*2);

printf("%d",i);

return 0;

}

81

2

Error

18

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int main() {

   int i;

   i=printf("%d",printf("EPICS 2024"));

   printf("\n%d",i);

    return 0;

}

EPICS 202410

2

EPICS 2024

2

  1. EPICS 202410 2

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

output for given pseudocode

main(){

int a;

a=12>10?print("12"):print("10")

}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times the compiler checks the for loop condition.example for(i=0;i<n;i++)

  1. n+1 times

  1. n-1 times

  1. N+1 times

  1. n times

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?