Session 2A
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Mohammad Saleem
Used 1+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 2 pts
Create a method named MyMethod and call it inside Main().
static void MyMethod() {
Console.WriteLine("I just got executed!");
}
static void Main(string[] args){
________
}
Create a method named MyMethod and call it inside Main().
static void MyMethod() {
Console.WriteLine("I just got executed!");
}
static void Main(string[] args){
________
}2.
FILL IN THE BLANK QUESTION
1 min • 2 pts
static void MyMethod(string fname, int age) {
Console.WriteLine(fname + " is " + age);
}
static void Main(string[] args){
MyMethod("Liam", 5);
}
Write down the output of this code
static void MyMethod(string fname, int age) {
Console.WriteLine(fname + " is " + age);
}
static void Main(string[] args){
MyMethod("Liam", 5);
}
Write down the output of this code3.
FILL IN THE BLANK QUESTION
1 min • 2 pts
static void MyMethod(string txt) {
Console.WriteLine(txt[1]);
}
static void Main(string[] args){
MyMethod("Programming");
}
Write down the output of this code
static void MyMethod(string txt) {
Console.WriteLine(txt[1]);
}
static void Main(string[] args){
MyMethod("Programming");
}
Write down the output of this code4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
static int MyMethod(int number) {
return number + 2;
}
static void Main(string[] args){
Consol.WriteLine(MyMethod(3));
}
what is the output?
static int MyMethod(int number) {
return number + 2;
}
static void Main(string[] args){
Consol.WriteLine(MyMethod(3));
}
what is the output?error
5
3
2
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
static void MyMethod(int number) {
number++;
}
static void Main(string[] args){
Consol.WriteLine(MyMethod(3));
}
what is the output?
static void MyMethod(int number) {
number++;
}
static void Main(string[] args){
Consol.WriteLine(MyMethod(3));
}
what is the output?error
5
4
3
Similar Resources on Wayground
10 questions
CALL: Causative Verb
Quiz
•
10th - 11th Grade
10 questions
TIN 11- KIỂU XÂU
Quiz
•
11th Grade
10 questions
Latihan Class Library
Quiz
•
9th - 12th Grade
10 questions
Formatting Graphics
Quiz
•
9th - 10th Grade
10 questions
Deep Fakes
Quiz
•
9th - 10th Grade
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
10 questions
What is Artificial Intelligence?
Quiz
•
12th Grade - University
10 questions
İnformatika
Quiz
•
6th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
