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
Document preview thumbnail
Preview 3 out of 27 pages
Exam (elaborations)

CNIT 155 FINAL PURDUE UNIVERSITY EXAM STUDY GUIDE 2026 COMPLETE QUESTIONS AND ANSWERS

Document preview thumbnail
Preview 3 out of 27 pages

CNIT 155 FINAL PURDUE UNIVERSITY EXAM STUDY GUIDE 2026 COMPLETE QUESTIONS AND ANSWERS

Content preview

CNIT 155 FINAL PURDUE UNIVERSITY
EXAM STUDY GUIDE 2026 COMPLETE
QUESTIONS AND ANSWERS
⫸ Connecting two string to form a longer string is called _______
Answer: Concatenation


⫸ Programming languages use ____ to store and remember data values
in a program Answer: Variables


⫸ Assume that variable Price has been declared with data type Decimal.
What statement would assign the value '3.99' to variable 'Price'?


[x] = [y] Answer: [x] = Price
[y] = 3.99


⫸ A control mainly used to get the user's input during program
execution Answer: Text Box


⫸ A control typically used to display a program's output Answer: Label


⫸ A control typically placed next to another GUI object to describe its
purpose Answer: Label


⫸ A control used to initiate an action Answer: Button

,⫸ The form and the objects placed on the forma are the VB program's
Answer: GUI (Graphical User Interface)


⫸ Assume a variable 'PetName' of type String has already been
declared. What statement would assign the value Luna to the variable
'PetName'?


[x] = [y] Answer: [x] = PetName
[y] = Luna


⫸ A _______ literal is a group of characters, enclosed between double
quotes, that is treated as on piece of data Answer: String


⫸ What data type should be used when dealing with money/currency?
Answer: Decimal


⫸ GUI stands for what? Answer: Graphical User Interface


⫸ The _______ operator is used to find the remainder of a division
Answer: MOD


⫸ What is the arithmetic operator in the following problem:
6\8 Answer: Integer Division

, ⫸ Evaluate the arithmetic expression shown below:


2 + 3 *4 = ? Answer: 14


⫸ The _____ method takes a numeric String as input and changes it into
the number of the specified data type. Answer: Parse()


⫸ The _____________ method converts a numeric data to its String
equivalent. Answer: ToString()


⫸ What is the result of 10 \ 3 ? Answer: 3


⫸ To change the value stored in a variable, it should appear on the
___________ side of the assignment operator. Answer: Left hand


⫸ The scope of a module scope variable is the entire _____, and its
lifetime the duration of the _____. Answer: Code window, program


⫸ The keyword for declaring a local variable is ----------- Answer: Dim


⫸ When the Else part of an If statement is another If statement, we can
use the [x] keyword. This simplifies the indentation of the code and
requires fewer End If. Answer: Esleif

Document information

Uploaded on
January 10, 2026
Number of pages
27
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.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.
GradeGalaxy
4.4
(8)
Sold
125
Followers
2
Items
43032
Last sold
3 days 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