• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

Asu Cse 240 Midterm Latest Actual Exam With Verified Questions & Correct Answers

Document preview thumbnail
Preview 2 out of 11 pages

Asu Cse 240 Midterm Latest Actual Exam With Verified Questions & Correct Answers

Content preview

ASU CSE 240 MIDTERM
LATEST ACTUAL EXAM WITH VERIFIED QUESTIONS &
CORRECT ANSWERS

Question 1.
(T/F) In C, there is not a class String like in Java or a primitive type String

ANSWER
True



Question 2.
char, unsigned char, signed char and int are all numeric (integer) types in C (T/F)

ANSWER
True



Question 3.
What does the follow code print?
int foo(int *n) {
*n = 30;
}int main() {
int i=15;
foo(&i);
printf("i=%d\n",i);
i=10;
foo(&i);
printf("i=%d\n",i);
return 0;}

ANSWER
i = 30
i = 30






, Question 4.
(T/F) Prolog is a functional programming language?

ANSWER
False



Question 5.
A name given to a storage location that stores an address

ANSWER
Pointer



Question 6.
C++ primitive data types include

ANSWER
float, double, char, int, void and bool



Question 7.
Fixed value that the program may not alter during its execution

ANSWER
Constant



Question 8.
control symbol %s is used for

ANSWER
printing format for strings of characters



Question 9.
Introduces a new name that becomes a synonym for the type given

ANSWER
TYPEDEF: typedef typename(int) newname(boooOlean)

Document information

Uploaded on
October 16, 2026
Number of pages
11
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.99

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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TopGradeInsider
4.1
(14)
Sold
195
Followers
1
Items
63144
Last sold
22 hours ago



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