NECTS- Code Debugging Elimination Round

NECTS- Code Debugging Elimination Round

Professional Development

5 Qs

quiz-placeholder

Similar activities

Scrum 101

Scrum 101

Professional Development

10 Qs

SJDMNHS Google Classroom 2

SJDMNHS Google Classroom 2

Professional Development

10 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

COMPUTER HARDWARE OUTPUT

COMPUTER HARDWARE OUTPUT

1st Grade - Professional Development

10 Qs

Google Calendar - Exit Quiz

Google Calendar - Exit Quiz

Professional Development

10 Qs

ICT, GSUITE TOOLS, GOOGLE MEET , ZOOM

ICT, GSUITE TOOLS, GOOGLE MEET , ZOOM

Professional Development

10 Qs

4th day revision ICT training

4th day revision ICT training

Professional Development

10 Qs

Computer shortcuts

Computer shortcuts

KG - Professional Development

10 Qs

NECTS- Code Debugging Elimination Round

NECTS- Code Debugging Elimination Round

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Rajendra Rajendra

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

    

--This Question Carries 2 Marks--

void main() {

char c[ ] = "IATEBURGER";

int x= ; int y= ; char *p = c;

printf("%s",p+p[x]-p[y]); }

  What are the missing values of x and y to print output? BURGER

a) x=1,y=1

b) x=3 ,y=3

c) x=1 ,y=3

d) x=3 ,y=1

2.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

--This Question Carries 3 Marks--

int main() {

    int arr[] = {1, 7, 3, 1, 7, 4, 3};

    int n = sizeof(arr) / sizeof(arr[0]);

    int result = 0;

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

        result =

    }

    int missingNumber = result;

    printf("The missing number is: %d\n", missingNumber);

    return 0;

}

In the above  code add the missing code of result to get the distinct element of the array.

a)       result &=arr[I];

b)      result ^=arr[I];

c)       result &&=arr[I];

d)      result |=arr[I];

3.

MULTIPLE CHOICE QUESTION

5 mins • 5 pts

--This Question Carries 5 Marks--

int r(){

static int num=7;

return num--; }

int main() {

for (r();r();r())

printf("%d",r());

return 0; }

a)       52

b)      51

c)       49

d)      Error

4.

MULTIPLE CHOICE QUESTION

5 mins • 5 pts

Media Image

a)       arr[i+1] = arr[i]

b)      arr[j] = arr[j+1]

c)       arr[i] = arr[i+1]

d)      arr[j+1] = arr[j]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

a)       set(array_nums)

b)      list(array_nums)

c)       dict(array_nums)

d)      tuple(array_nums)

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?