
C# - Module 3 Quiz

Quiz
•
Computers
•
University
•
Hard
Ahmed Aweis
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a ComboBox in C#?
To display a text box combined with a ListBox
To create objects on a form with mouse clicks
To remove items from a list
To clear the entire list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you add an item to a ComboBox in C#?
comboBox1.Items.Add('Wednesday')
comboBox1.Items.Add('Friday')
comboBox1.Items.Add('Saturday')
comboBox1.Items.Add('Sunday')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you retrieve the displayed item from a ComboBox in C#?
var = comboBox1.SelectedItem;
var = comboBox1.Text;
var = comboBox1.SelectedText;
var = comboBox1.SelectedValue;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you remove an item from a ComboBox at a specified index in C#?
comboBox1.Items.RemoveAt(0);
comboBox1.Items.RemoveAt(2);
comboBox1.Items.RemoveAt(1);
comboBox1.Items.RemoveAt(3);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the DropDownStyle property specify in a ComboBox in C#?
Whether the list is displayed in a drop-down
Whether the list is always displayed
Whether the text portion can be edited
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you set the selected item in a ComboBox to 'test3' in C#?
comboBox1.SelectedItem = 'test3';
comboBox1.SelectedItem = 'test2';
comboBox1.SelectedItem = 'test4';
comboBox1.SelectedItem = 'test1';
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you make a ComboBox read-only in C#?
comboBox1.Enabled = false;
comboBox1.ReadOnly = true;
comboBox1.Enabled = true;
comboBox1.ReadOnly = false;
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Evaluasi IMK

Quiz
•
University
10 questions
SOFTWARE ENGINEERING

Quiz
•
University
11 questions
The Broadband Internet Connection

Quiz
•
9th Grade - University
15 questions
Computer DESKTOP - CESA

Quiz
•
7th Grade - University
11 questions
CH8 of database

Quiz
•
University
8 questions
HTML CSS

Quiz
•
University
8 questions
Kishore Quiz Class7

Quiz
•
University
10 questions
Interaksi manusia dan komputer

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University