C# Programming

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Nevin Morrison
Used 41+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string[] animal = new string[]{"lion", "tiger","zebra","elephant"};
What is the value of animal[2];
lion
tiger
zebra
elephant
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is happening here:
double number1 = double.Parse(textBox1.Text);
A text box is being created.
The value of the textbox is being converted to a double.
The textbox is being set to the value of the variable.
An integer is being parsed.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is and example of a(n):
private void button1_Click(object sender, EventArgs e)
{
// Do something here.
}
Function
Event Handler
Method
Button
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What statement is true about the following class?
class ScientificCalculator : Calculator
{
public double expo(double num1, double num2)
{
double total = num1;
for(int i = 1;i < num2;i++)
{total = total * num1;}
return total;
}
}
It contains an array variable.
It contains an addition method.
Its name is Calculator.
It inherits from a Calculator class.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following statement does what?
label1.Text = total.ToString();
Sets the value of a String.
Sets the value of a word.
Sets the text value of a label.
Creates a new label.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code generates what:
int i = 7;
if ( i <= 7)
{MessageBox.Show("Hi");}
else
{MessageBox.Show("Bye");}
A message box that says "Bye".
A console output "Hi".
A message box that says "Hi"
A console output that says "Bye"
Similar Resources on Wayground
11 questions
Casting in Java

Quiz
•
9th - 12th Grade
6 questions
Code.org CSP Unit 4 Review

Quiz
•
9th - 12th Grade
5 questions
Topic 2.5 Video 2

Quiz
•
11th Grade
10 questions
Introducción a VBA

Quiz
•
12th Grade
10 questions
Python Arithmetic Operators

Quiz
•
8th - 9th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
10 questions
C# Programming Basics Quiz

Quiz
•
10th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade