
Unit 3
Authored by Ntombi Ngcwangu
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following is a reference type in C#?
A) int
B) double
C) string
D) char
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following statements is true regarding implicit and explicit conversion in C#?
A) Implicit conversion requires a cast operator.
B) Explicit conversion occurs automatically by the compiler.
C) Implicit conversion may result in data loss.
D) Explicit conversion is also known as widening conversion.
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What does null represent in programming languages?
D) A reserved keyword for method declarations
C) A reference to nothing or absence of a value
B) An undefined variable
A) A value representing an empty string
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following statements about arrays in C# is false?
A) Arrays can store elements of different types.
B) Arrays have a fixed size that cannot be changed.
C) Elements in an array are accessed using indices.
D) Arrays in C# are homogeneous, meaning they can store elements of the same type.
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
How would you declare and initialize an array of integers with values 1, 2, and 3 in C#?
A) int[] arr = new int[] {1, 2, 3};
D) int arr[3] {1, 2, 3};
;
C) int arr[3] = {1, 2, 3};
B) int[] arr = {1, 2, 3};
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following statements about the Common Type System (CTS) is true?
A) CTS ensures compatibility only between C# and VB.NET.
B) CTS defines data types that are specific to each .NET language.
C) CTS ensures consistency and interoperability of types across different .NET languages.
D) CTS is a feature specific to the C# language.
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
In object-oriented programming (OOP), which principle emphasizes hiding the internal state of an object and only exposing the necessary functionalities?
A) Encapsulation
D) Abstraction
B) Inheritance
C) Polymorphism
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?
Similar Resources on Wayground
10 questions
Chapter 11: OHP review
Quiz
•
University
15 questions
CONTRATACION LABORAL
Quiz
•
University
10 questions
Innovative teaching Strategies
Quiz
•
University
15 questions
Kuis 1 (Pengertian dan Ruang Lingkup Filsafat)
Quiz
•
University
15 questions
Quiz Evaluasi Penilaian Status Gizi Zat Besi
Quiz
•
University
13 questions
rubiks cube quiz
Quiz
•
KG - Professional Dev...
10 questions
EXAMEN AULA SAN MARCOS
Quiz
•
University
10 questions
Optimisasi Ekonomi (pert 2 Ekonomi Manajerial)
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University