3 rd Year Placement  Test-1

3 rd Year Placement Test-1

Professional Development

50 Qs

quiz-placeholder

Similar activities

PPPK PJOK SD 24

PPPK PJOK SD 24

Professional Development

50 Qs

SELASAR W4 AGS 2024

SELASAR W4 AGS 2024

Professional Development

50 Qs

MET Pre-Placement Aptitude Test

MET Pre-Placement Aptitude Test

Professional Development

46 Qs

UTS HK. DAGANG I - M. HADYAN YUNHAS PURBA

UTS HK. DAGANG I - M. HADYAN YUNHAS PURBA

Professional Development

46 Qs

PRETEST INSTRUCTOR BOOTCAMP COURSE  LEMDIKLAT POLRI TA.2025

PRETEST INSTRUCTOR BOOTCAMP COURSE LEMDIKLAT POLRI TA.2025

Professional Development

50 Qs

Bheja Fry

Bheja Fry

Professional Development

50 Qs

TES TEHNIK PPPK

TES TEHNIK PPPK

Professional Development

50 Qs

4. MODÜL GENEL DEĞERLENDİRME ÇALIŞMASI

4. MODÜL GENEL DEĞERLENDİRME ÇALIŞMASI

Professional Development

50 Qs

3 rd Year Placement  Test-1

3 rd Year Placement Test-1

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Medium

Created by

KARUPPUCHAMY V

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

#include <stdio.h>

    int main()

    {

        int y = 10000;

        int y = 34;

        printf("Hello World! %d\n", y);

        return 0;

    }

a) Compile time error

b) Hello World! 34

c) Hello World! 1000

d) Hello World! followed by a junk value

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

2 . Find the value of A[1] after execution of the following program.

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

for(int i = 0; i < a.length; i++)

{

    a[i] = a[(a[i] + 3) % a.length];

}

a) 1

b) 2

c) 3

d) 4

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

3. #include <stdio.h>

    int main()

    {

        int main = 3;

        printf("%d", main);

        return 0;

    }




a) It will cause a compile-time error

b) It will cause a run-time error

c) It will run without any error and prints 3

d) It will experience infinite looping

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

4. #include <stdio.h>

    int main()

    {

        short int i = 20;

        char c = 97;

        printf("%d, %d, %d\n", sizeof(i), sizeof(c), sizeof(c + i));

        return 0;

    }

a) 2, 1, 2

b) 2, 1, 1

c) 2, 1, 4

d) 2, 2, 8

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

5.  #include  <stdio.h>

    int main()

    {

       int i;

for(i=0;i<5;i++);

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

       return 0;

    }

a) 0 1 2 3 4


b) 5

c)0 1 2 3 4 5

d) 4

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

6. #include <stdio.h>

    int const print()

    {

        printf("PSNACET");

        return 0;

    }

    void main()

    {

        print();

    }

a) Error


b) TECANSP

c) PSNACET is printed infinite times

d) PSNACET

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

7.  Identify the Missing line.

int fact(int n)

{

if(n=0)

     return 1;

else

    ___________________

}

a) return n*fact(n/1);

b) return n*fact(n-1);

c) return n*fact(n*1);

d) return n*fact(n+1);

Create a free account and access millions of resources

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?

Discover more resources for Professional Development