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 9 pages
Exam (elaborations)

EGR 1400 CORRECT GUIDE ALL QUESTIONS AND ANSWERS SURE A.pdf

Document preview thumbnail
Preview 2 out of 9 pages

EGR 1400 CORRECT GUIDE ALL QUESTIONS AND ANSWERS SURE A.pdf

Content preview

EGR 1400 CORRECT GUIDE ALL QUESTIONS AND
ANSWERS SURE A+
✔✔true - ✔✔T or F this is an infinite loop?

int A=0;
do
{
A = A + 2; //this is the sum, count here
} while (A >= 0);

✔✔5 - ✔✔How many times will the following sum execute?

int X=0;
while (X <= 8)
{
X = X + 2; //this is the sum, count here
}

✔✔even, 0, 8 - ✔✔the following code will add all the ___ numbers from ___ to ___
for (x=0; x<=9; x+=2)
{
sum = sum + x;
}

✔✔lstList.Items.Add("Bananas"); - ✔✔a line of code that will add the item "Bananas" to
list box lstList

✔✔name - ✔✔An array is a series of memory locations that share the same ______.

✔✔5 - ✔✔What is the value of X after the loops have both exited?int X=0;
while (X < 3)
{

, X += 2;
while ((X >= 2) && (X < 5))
{
X += 3;
}
}

✔✔14-18 - ✔✔review questions 14-18 on exam 2
answer is: 14-18

✔✔Q = () * (Xmax - Xmin); - ✔✔If we wanted to use the MSChart control to plot 5
points of the function (x^2) from Xmin=0 to Xmax=2,we would use the following code:

for (x=0; x<=2; x+=Q) //5 slots for 0 to 2, inclusive
{
chtMyChart.Series[0].Points.AddXY(G, G ^ 2);
}

What is the correct equation for Q? Assume that Xmin and Xmax are the minimum and
maximum values to be displayed on the chart's x-axis. This is similar to Lab 6.

a.
Q = () * (Xmax - Xmin);
b.
None of these
c.
Q = ((x - 1) / 5) * (Xmax - Xmin);
d.
Q = (Xmin + 4) * (Xmax - Xmin);
e.
Q = (Xmax - Xmin) / 4;

✔✔clearing all of the points on a graph - ✔✔The chtMyChart.Series[0].Points.Clear()
method of the Microsoft Chart Control is used for

a.
None of these
b.
clearing one point on a graph
c.
clearing the form
d.
changing the type of graph to a bar graph
e.
clearing all of the points on a graph

Document information

Uploaded on
August 9, 2026
Number of pages
9
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$18.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