stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
C# Flashcards | StudBud
Explore
/
C#
C#
10 terms
·
StudBud Administration
·
16 plays
Imported from external platform
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
8. Which is the operator used to assign a value to a variable in C#?
c) :=
b) ==
a) =
d) =>
2
3. What is the file extension used for C# source code files?
a) .java.
c) .cpp.
b) .cs.
3
1. What is C#?
a) An object-oriented programming language.
c) An operating system.
b) A graphic design software.
4
6. Which of the following is used to stop a loop in C#?
a) break
c) return
d) exit
b) continue
5
7. Which of the following best describes the concept of inheritance in C#?
b) The ability of a class to be used as a basis for other classes.
c) The ability of a class to access the private methods of other classes.
a) The ability of a class to inherit from multiple classes.
6
2. What platform does C# use as your primary development environment?
b) Eclipse.
a) Visual Studio.
c) Xcode.
7
4.Which of the following best describes the main objective of C#?
b) Create interactive web pages.
a) Develop mobile applications.
c) Develop desktop applications and web services.
8
5. What is the function of the entry point in a C# application?
c) Define the third-party libraries used.
a) Display error messages.
b) Initiate program implementation.
9
10. Which of the following is used to read user input in C#?
a) Console.ReadLine()
c) Console.Input()
d) Console.WriteLine()
b) Console.Read()
10
9.Which of the following loops is repeated at least once, even if the condition is false?
c) do-while
b) for
d) foreach
a) while