pps quiz 2023

pps quiz 2023

University

20 Qs

quiz-placeholder

Similar activities

Basics of 'C' Language_Assessment1

Basics of 'C' Language_Assessment1

University

15 Qs

A Quiz on C Programming

A Quiz on C Programming

University

20 Qs

pl_tcl/tk_py

pl_tcl/tk_py

University

22 Qs

coding beast set 2

coding beast set 2

University

20 Qs

Uces- Simulacro Parcial 1

Uces- Simulacro Parcial 1

University

20 Qs

Ujian Semester Pemprograman Dasar

Ujian Semester Pemprograman Dasar

University

20 Qs

C Coding Contest Round 1

C Coding Contest Round 1

University

25 Qs

Round 2

Round 2

University

15 Qs

pps quiz 2023

pps quiz 2023

Assessment

Quiz

Education

University

Hard

Created by

roja laveti

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A step-by-step procedure to solve a problem.

A graphical representation of data.

A computer program.

A mathematical equation.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which among the following operator has the highest priority?

Comma operator

Conditional operator

Relational operator

Unary plus operator

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many keywords are there in C?

34 keywords

36 keywords

32 keywords

38 keywords

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of this program?

#include <stdio.h>

int main()

{

printf("variable! %d", x);

    return 0;

}

variable! x

variable! followed by a junk value

Compile time error

variable!

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of this program? if input a is 1 and b is 2

#include <stdio.h>

int main()

{

int a, b;

printf("%d", scanf("%d %d",&a,&b));

    return 0;

}

1

2

runtime error

compile time error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All C program files are with what extension?

.c extension

.t extension

.tc extension

.cc extension

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the different types of constants in C?

Numeric constants

Character constants

Both A & B

None of the above

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?