EST102 : PROGRAMMING IN C TEST 1

EST102 : PROGRAMMING IN C TEST 1

University

20 Qs

quiz-placeholder

Similar activities

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

Milking Minds 2 17-01-24

Milking Minds 2 17-01-24

University

15 Qs

C programming

C programming

University

15 Qs

Beginning C Programming

Beginning C Programming

University

23 Qs

Competitive Coding-I

Competitive Coding-I

University

20 Qs

Operators in C

Operators in C

University

24 Qs

Pointers

Pointers

University

20 Qs

Programming in C(1)

Programming in C(1)

University

20 Qs

EST102 : PROGRAMMING IN C TEST 1

EST102 : PROGRAMMING IN C TEST 1

Assessment

Quiz

Computers

University

Hard

Created by

Rashid Ummer NT

Used 40+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

When we write X=10 and Y=X, which of the following memory assignment is correct

X and Y will have same location and 10 will be stored.

X and Y will have two distinct locations and 10 will be stored in both.

X and Y will have same location and only X will contain value 10

X and Y will have two distinct locations and only X will contain value 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An interpreter reads the source code of a program

one line at a time

two line at a time

complete program in one stroke

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Compiler helps in the translation from

Integer to binary

High-level program to binary digits

High-level language to machine level language

Pseudo code to computer program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is correct?

System software is dependent on application software.

Application software is dependent on system software.

Both are independent of each other.

None of the above.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a C variable?

EST102

eST_102

Est@102

C_102_EST

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statement is correct?

I. Keywords are those words whose meaning is already defined by Compiler.

II. Keywords cannot be used as variable name.

III. There are 32 keywords in C.

IV. C keywords are also called as reserved words.

I and II

II and III

I, II and IV

All of the above

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will be the output of the given program?


#include<stdio.h>

main()

{

float a=6.0;

printf(“%.2f”,(9/5)*a+11);

}

21.80

19.00

0.00

17.00

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?