Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Exam (elaborations) Programming Fundamental

Rating
-
Sold
-
Pages
3
Grade
B
Uploaded on
17-01-2023
Written in
2007/2008

Helps in preparing programming paper.

Institution
Course

Content preview

SECTION 1
Q.1: Multiple choice questions.

1) An array is collection of variables of
a) Same data types scattered throughout memory
b) Different data types scattered throughout memory
c) Same data types stored in consecutive memory location in memory
d) Different & same data types stored in consecutive memory location in
memory
e) All of the above
2) What will be the output of following code
#include<iostream.h>
#include <conio.h>
int main ()
{
cout << (int)(double)16.2/3;
return 0 ;
}
a) 4
b) 5.5
c) 5
d) None of above
3) What will be the output of following code
#include<iostream.h>
#include <conio.h>
int main ()
{
int i =32767;
i++;
cout<< i;
return 0;
}
a) 32767
b) 32768
e) error
f) Garbage value




4) At least one statement is always executed in case of
a) for
b) while
c) do while
d) none of above
5) What is not allowed in case expression of switch case
a) 3


1

Written for

Course

Document information

Uploaded on
January 17, 2023
Number of pages
3
Written in
2007/2008
Type
Exam (elaborations)
Contains
Answers

Subjects

$4.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
MissGhani

Get to know the seller

Seller avatar
MissGhani Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
5 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions