GoConqr has a new look! Let us know what you think.

Quiz

C# variables, loops and classes basics

Анар Дарибаева 114 questions

Take the quiz

Questions in this quiz (114)

  1. 11. C-style languages are
    1. AC, C#, C++, Java
    2. BC, C#, C++
    3. CC#, C++
    4. DC, C#
    5. EC, C++
  2. 2Choose the incorrect statement for C style languages.
    1. Acurly brackets are used to group statements
    2. Bsemicolons are not used to denote the end of a statement
    3. Cvariables are assigned using an equals sign, but compared using two consecutive equals

      sign
    4. Da, b, c, d
    5. Esquare brackets are used with arrays
  3. 3Which aspects does variable have?
    1. Atype, size and memory address
    2. Bmemory address, type and value
    3. Ctype and value
    4. Dvalue, size and memory address
  4. 4What declaration of variables is the correct?
    1. Achar c, char s;
    2. Bdouble a, b;
    3. Cchar c;i;
    4. Dint b;c;
  5. 5Declaration of variable is not a statement of C# language, but ends with semicolon.
    1. Ayes
    2. Bno
  6. 6Declaration of variable is a statement of C# language.
    1. Ayes
    2. Bno
  7. 7Which rule is correct when naming variables?
    1. Aan identifier can consist of letters, number and reserved words
    2. Bthe first character must be letters, underscore only
    3. Creserved words can be used as variable names
    4. Dthe first character must be only letter
  8. 8 Choose the correct statement with initializing.
    1. Astring c="0";
    2. Bint i="0";
    3. Cchar c="0";
    4. Dint i='0';
  9. 9What method in C# is Console output?
    1. Aa) ReadLine
    2. Bb) WriteLine
  10. 1011. What method in C# is Console input?
    1. AWriteLine
    2. BReadLine

Information

Description
Quiz on Untitled, created by Анар Дарибаева on 03/12/2017.
Language
English
Views
0
Tags
5
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?