gs gs108 Data Types, Variables and Operators - Type Conversion in Expressions - Quiz No.1

gs gs108 CSharp Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs108 CSharp of gs organization. We have 110 quizzes available related to the book/course CSharp. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Data Types, Variables and Operators. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: What is the need for ‘Conversion of data type’ in C#?
Question 2: Types of ‘Data Conversion’ in C#?
Question 3: ‘Implicit Conversion’ follows the order of conversion as per compatibility of data type as:
Question 4: For the following C# code select the relevant solution for conversion of data type.

 static void Main(string[] args) { int num1 = 20000; int num2 = 50000; long total; total = num1 + num2; Console.WriteLine("Total is : " +total); Console.ReadLine(); } 
Question 5: The subset of ‘int’ data type is __________
Question 7: Disadvantages of Explicit Conversion are?
Question 8: For the given set of C# code, is conversion possible?

 static void Main(string[] args) { int a = 76; char b; b = (char)a; Console.WriteLine(b); Console.ReadLine(); } 


Online Quizzes of gs108 CSharp

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background