
Programming Windows Applications: C#
Authored by EDWIN SALANATIN
Computers
9th - 10th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All files within a windows desktop application are contained within a:
Form
Project
Text Box
Window
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will:
string name = "Jane";
lblDisplay.Text = name;
Display "name" in the label lblDisplay
Display "name" a MessageBox
Display "Jane" in the label lblDisplay
Display "Text" in the label name
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code segment will:
MessageBox.Show("1 + 1" + " = 2");
Display :1 + 1 + = 2
= 2
1 + 1
1 + 1 = 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To change the physical appearance of a form in Visual Studio you need to configure its:
Toolbox
Properties
Project
IDE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with the following code segment:
int number = 5
MessageBox.Show("Number = " + number);
number should use a decimal data type
The first statement is missing a semicolon
A label should have been used instead of a Messagebox
number should be declared as a string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code segment:
int a = 3;
int b = 9;
int c = 0;
c = (a * b) + b
MessageBox.Show("Output = " + c);
27
21
0
36
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An integer data type stores:
Whole number values
Decimal value
Floating point values
Text values
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?