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 2 out of 15 pages
Exam (elaborations)

EGR 1400 EVALUATION TEST QUESTIONS AND ANSWERS SURE A.pdf

Document preview thumbnail
Preview 2 out of 15 pages

EGR 1400 EVALUATION TEST QUESTIONS AND ANSWERS SURE A.pdf

Content preview

EGR 1400 EVALUATION TEST QUESTIONS AND
ANSWERS SURE A+
✔✔the Text property - ✔✔What property of a Label control would you need to set to
change the words displayed in the Label on the form?

✔✔5 - ✔✔What is the value of choice after the code below has finished executing? The
user entered a 4 in the text box, txtNumber.
int choice; choice = int.Parse(txtNumber.Text);
if ((choice > 6) && (choice < 4))
{
choice = 5;
} choice++;

✔✔b. txtAge - ✔✔Which of the following is the best name for a text box that will hold a
person's age within a Visual Studio .NET project, keeping in mind the recommended
naming conventions?
a.
None of these
b.
txtAge
c.
Form1
d.
Age
e.
txtText1

✔✔an event - ✔✔When the user clicks a button, _________ is raised.

✔✔d. RandNum=myRand.Next(1,4); - ✔✔Which of the following statements will set
RandNum to a value between 1 and 3, inclusive?(myRand has been declared as new
Random)

, a.
RandNum = myRand.Next(1,3);
b.
RandNum = myRand.Next(0,4);
c.
RandNum = myRand.Next(0,3);
d.
RandNum = myRand.Next(1,4);

✔✔3.80 - ✔✔What is the value of float.Parse("3.8").ToString("0.00")?

✔✔400500 - ✔✔What does the following expression result in:
txtText1.Text = txtSalary.Text + txtBonus.Text + txtOvertime.Text;
Given that the values entered for txtSalary is 400, txtBonus is 50 and txtOvertime is 0

✔✔int a, b; - ✔✔declare but don't initialize the variables a and b as type Integer

✔✔18.33 - ✔✔When a=9 and b=3, what is the result of the expression:
a+b/a+b*b?

✔✔continuing - ✔✔the code below demonstrates _____ a string on a second line in the
code window
"This is a string " +
"This is the 2nd line";

✔✔temp = x;
x = y;
y = temp; - ✔✔Assume that x, y, and temp are Integer variables x = 5 and y = 8. Which
of the following lines of code swaps the values of x and y?
a.
x = temp;
x = y;
y = temp;

b.
temp = x;
x = y;
y = temp;

c.
x = y;
temp = x;
y = temp;

Document information

Uploaded on
August 9, 2026
Number of pages
15
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$19.49

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

Sold
1
Followers
2
Items
4807
Last sold
1 month 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