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)

Programming fundamentals exam practice questions

Rating
-
Sold
-
Pages
3
Grade
B
Uploaded on
25-03-2024
Written in
2013/2014

Programming fundamentals exam practice questions

Institution
Course

Content preview

Intro to Computing - summer 2014
Mid Term
July 9, 2014 Time: 150 min



SECTION 1
Q.1: Multiple choice questions. 5
Note: Write the correct option on answer sheet.
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




1

Written for

Course

Document information

Uploaded on
March 25, 2024
Number of pages
3
Written in
2013/2014
Type
Exam (elaborations)
Contains
Only questions

Subjects

$8.49
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