You are on page 1of 4

A.V.

TECHNOLOGY
Software Development & Security Training Centre

No. of Questions 60 Duration: 60 minutes

Candidate Name: ……………………………………………………………………...


Qualification: ……………………….Date of Birth: ...….……………… (dd/mm/yy)
Address : ……………………………………..…………………………………..……...
……………………………………………………………………………….....................
Date of Test:……………………………..
Start Time : .………………..……...……..
Finish Time : ……………………………..

Instructions:
1. All questions carry equal marks.
2. There is no negative marking.
3. Candidates must answer at least 5 questions from every section.
4. Tick Mark (√) the right choice.
5. Multiple choices will be considered as invalid answer.
6. Candidate must follow pin drop silence in the examination hall.
7. Any type of electronic devices such as pendrive, CD, cell phone
etc are not allowed in examination hall.

3rd Floor, Ramidiri House, Dadijee Sweets Lane, Boring Road Patna - 800001
A.V.TECHNOLOGY
Software Development & Security Training Centre

Section A

1. If P=10, q=15 what will be the output of following statement?

X=(P>Q)?P:Q

a. 25 b. 10 c. 15 d. None

2. What will be output of the following statement?

int a=7;

printf(“%d,%d,%d”,a--,a,a++);

a. Invalid Statement

b. 7,7,7

c. 6,7,8

d. None of the above

3. Evaluate the following

int x=1,y=1,z=1;

if (z>0)

x=x+1;

y=y-1;

printf(“x=%d,y=%d”,x,y);

a. X=0,y=0

b. X=1,y=0

c. X=2,y=0

3rd Floor, Ramidiri House, Dadijee Sweets Lane, Boring Road Patna - 800001
A.V.TECHNOLOGY
Software Development & Security Training Centre

d. None of the above

4. Strcpy() is a function to

a. Compare two strings

b. Copy Value of a string variable to another string variable

c. Append one string after another

d. None of the above

5. Homogeneous data elements grouped into a single entity is referred as

a. Structure

b. Array

c. None of the above

6. The && and || operators

a. Compare two numeric values

b. Combine two numeric Values

c. Compare two Boolean values

d. None of the above

7. A pointer is

a. Address of Variable

b. An indication of the variable to be accessed next

c. A variable for storing addresses

d. None of the above

8. The Statement Scanf(“%s”,str); will input the value to str

a. If input is “A.V. Technology” then “A.V. Technology will be stored in


str

b. If input is “A.V. Technology” then only “A.V.” will be stored in str

3rd Floor, Ramidiri House, Dadijee Sweets Lane, Boring Road Patna - 800001
A.V.TECHNOLOGY
Software Development & Security Training Centre

c. If input is “A.V. Technology” then only “Technology” will be stored in


str

d. None of the above

Section B

1. Does C# support multiple-inheritance?

a. Yes

b. No

2.

3rd Floor, Ramidiri House, Dadijee Sweets Lane, Boring Road Patna - 800001

You might also like