C_Quiz2

C_Quiz2

University

10 Qs

quiz-placeholder

Similar activities

SOII. Gestión ficheros y práctica

SOII. Gestión ficheros y práctica

University

10 Qs

Javascript

Javascript

University

12 Qs

Repaso F1007B (Bloque 3)

Repaso F1007B (Bloque 3)

University

10 Qs

Pre-Test Pertemuan 5

Pre-Test Pertemuan 5

1st Grade - University

15 Qs

Programación II Parte 5

Programación II Parte 5

University

10 Qs

Mapeamento e Normalização BD

Mapeamento e Normalização BD

University - Professional Development

15 Qs

TUTORR DASPROG

TUTORR DASPROG

University

10 Qs

rappers

rappers

7th Grade - Professional Development

6 Qs

C_Quiz2

C_Quiz2

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

MARY T

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the output:

#include <stdio.h>

   int x=2;

   int main()

   {

       if (x=2)

           printf("hi");

       else

           printf("how are u");

   }

hi

how are u

hi

how are u

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the output:

#include <stdio.h>

   int x=2;

   int main()

   {

       if (x=2)

           printf("hi");

       else

           printf("how are u");

printf("ECE");

   }

hiECE

how are u

hi

hi

ECE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the output:

#include <stdio.h>

   int x=2;

   int main()

   {

       if (x=2)

           printf("hi");

       else

{

           printf("how are u");

printf("ECE");

}

   }

hiECE

how are u

hi

hi

ECE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

   int main()

   {

       int x = 5;

       if (x >5)

           printf("hello");

       if (x == 5)

           printf("hi");

       else

           printf("no");

   }

hiECE

how are u

hi

hi

ECE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

   int main()

   {

       int x = 5;

       if (x >1)

           printf("hello");

       if (x == 5)

           printf("hi");

       else

           printf("no");

   }

hiECE

how are u

hellohi

hi

ECE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main()

{

    if(TRUE)

    {

        printf("India\n");

    }

    if(true)

    {

        printf("Honey\n");

    }

    printf("ZING");

 

    return 0;

}

hiECE

how are u

Error

hi

ECE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

int x;

int main()

{

if (x)

printf("hi");

else

printf("how are u");

}

hiECE

how are u

Error

hi

ECE

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?