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

Quiz

WebAppQuiz2

Eric Booker 14 questions

Take the quiz

Questions in this quiz (14)

  1. 1
    The output of following code is close to..

    int x = 1;
    float y = 1.1f;
    short z = 1;

    Console.WriteLine((float)x + y * z - (x += (short)y));
    1. A0.1
    2. B1.0
    3. C1.1
    4. D11
  2. 2
    Given the Datetime object below:

    DateTime dta = new DateTime(2018, 10 ,4, 16, 5, 7, 123);

    What will be printed when you use the folliwing print statement?

    Console.WriteLine(String.Format("{0:d dd ddd dddd}", dta));
    1. A1,10,2018
    2. B04 04 Thu Thursday
    3. C04 Oct 2018
    4. D04 10 Thu Thursday
  3. 3
    In C#, both 0 and false are correct values for a bool variable to hold a False value.
    1. ATrue
    2. BFalse
  4. 4
    In C# Which of the following is an 8-byte Integer?
    1. Along
    2. Bshort
    3. Cbyte
    4. Dinteger
  5. 5The decimal data type in C# has a physical word size of 128 bytes
    1. ATrue
    2. BFalse
  6. 6
    The following snippet will print the word REA

    String s1 = "ALL MEN ARE CREATED EQUAL";
    String s2;
    s2 = s1.Substring(12, 3);
    Console.WriteLine(s2);
    1. ATrue
    2. BFalse
  7. 7
    The HTML comment below is a legal comment even though it is mixing up with C# style comment starting with the // symbol.

    <html>
    <body>

    <script>
    <!-- This is a line of HTML comment
    //document.write("Hello World.");
    -->
    </script>
    </body>
    html>
    1. ATrue
    2. BFalse
  8. 8
    In visual Studio 2016/2017 environment, when you deploy an application to the server to start your web application you can see something like:
    http://localhost:5638/YourApplicationname/Default.aspx. The portion localhost:5638 in the above link is the machine name and the port where the application is running.
    1. ATrue
    2. BFalse
  9. 9"Dynamic" is defined as the ability of the browser to alter a web page's look and style after the document has loaded.
    1. ATrue
    2. BFalse
  10. 10
    In javascript which of the following is true if A and B are not equal?
    1. Aif A not = b
    2. Bif A != B
    3. Cif (A not = B)
    4. Dif (A != B)

Information

Description
Quiz on WebAppQuiz2, created by Eric Booker on 10/12/2018.
Language
English
Views
0
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?