100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

EGR 1400 EXAM 1 | QUESTIONS AND ANSWERS | 2025/2026 UPDATE | 100% CORRECT

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
02-12-2025
Written in
2025/2026

EGR 1400 EXAM 1 | QUESTIONS AND ANSWERS | 2025/2026 UPDATE | 100% CORRECT

Institution
EGR 1400
Course
EGR 1400









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
EGR 1400
Course
EGR 1400

Document information

Uploaded on
December 2, 2025
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

EGR 1400 EXAM 1 | QUESTIONS AND ANSWERS |
2025/2026 UPDATE | 100% CORRECT




In C#, you can simulate rolling two dice by selecting a random number between
1 and 6 to represent each die roll and then adding them together to get the
dice total. Let,s say that we developed a program to do this and we rolled the
pair of dice 50 times and recorded the results of each roll on a sheet of paper.
Can we just select one random number between 2 and 12 and achieve the
same experimental results for the 50 rolls as rolling two die and adding them?


a. No, It's not possible to get the same experimental results with one random
number
b. Yes, using the same scaling as before
c. Yes, if the Visual C# code is written to scale the single random number
between 2 and 12
d. Yes, if the random number is selected using myRand.Next(2,13); Answer -
No, It's not possible to get the same experimental results with one random
number


What property of a Label control would you need to set to change the words
displayed in the Label on the form?


a. the Text property
b. the Name property
c. the Captain property
d. the Word property

, e. None of these Answer - a. the Text property


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. Form1
b. txtAge
c. txtText1
d. Age
e. None of the above Answer - b. txtAge


When the user clicks a button, ______ is raised.


a. an event
b. a setting
c. a method
d. a property Answer - a. an event


Which if the following statements will set RandNum to a value between 1 and
3, inclusive?


a. RandNum = myRand.Next(1,3);
b. RandNum = myRand.Next(0,3);
c. RandNum = myRand.Next(1,4);
d. RandNum = myRand.Next(0,4);
e. None of these Answer - c. RandNum = myRand.Next(1,4);

Get to know the seller

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.
EvaTee Phoenix University
View profile
Follow You need to be logged in order to follow users or courses
Sold
5015
Member since
4 year
Number of followers
3556
Documents
52161
Last sold
1 day ago
TIGHT DEADLINE? I CAN HELP

Many students don\'t have the time to work on their academic papers due to balancing with other responsibilities, for example, part-time work. I can relate. kindly don\'t hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded

3.9

915 reviews

5
438
4
160
3
166
2
46
1
105

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

Frequently asked questions