DBMS Quiz, Notes & Technology Articles

Functions Quiz Question and Answers 14 PDF Download

Learn functions quiz, online c sharp test 14 for distance learning, online courses. Free c sharp MCQs questions and answers to learn functions MCQs with answers. Practice MCQs to test knowledge on functions with answers, string, structures, boolean logic, arrays, functions test for online learn C sharp courses distance learning.

Free functions online course worksheet has multiple choice quiz question: functions of c# have following properties with choices functions can not be nested, functions can be called recursively., if we do not return a value from a function then a value -1 gets returned. and both b and c for online interview questions and answers for teaching assistant jobs, teacher jobs and tutoring jobs, study functions in c# multiple choice questions based quiz question and answers.

Quiz on Functions Worksheet 14

Functions Quiz

MCQ. Functions of C# have following properties

  1. Functions can not be nested
  2. Functions can be called recursively.
  3. If we do not return a value from a function then a value -1 gets returned.
  4. both b and c

D

Arrays Quiz

MCQ. Method used to copy content from one array to another array is

  1. Copy()
  2. copy()
  3. arr.cpy()
  4. cpy()

A

Boolean Logic Quiz

MCQ. Data type used to hold result of a comparison is

  1. string
  2. double
  3. bool
  4. char

C

Structures Quiz

MCQ. Correct way to define a variable of type struct Emp declared below is <br/> <code> struct Emp { private String name; private int age; private Single sal; } </code>

  1. Emp e(); e = new Emp();
  2. Emp e = new Emp;
  3. Emp e = new Emp();
  4. Emp e; e = new Emp;

C

String Quiz

MCQ. Correct way to convert a string to uppercase using string class method()

  1. Upper()
  2. ToUpper()
  3. Object.ToUpper()
  4. objUpper()

C