O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Java - Programming Concepts Final Review

Ashley Maximilien 21 perguntas

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (21)

  1. 1The symbol to generate a comment that runs to the end of a line is [blank_start]//[blank_end]
    1. A//
  2. 2The symbol that generates a comment that can span over multiple lines is [blank_start]/*[blank_end]
    1. A/*
  3. 3Which of the following are symbols used for comments in java?
    1. A/
    2. B//
    3. C/*
    4. D--
    5. E*/
    6. F/**
  4. 4Which of the following are true about identifiers?
    1. AIdentifies can include uppercase and lower case letters
    2. BIdentifiers cannot include numbers
    3. COnly two non-alphabet and non-digit symbols can be used for identifiers
    4. DIdentifiers can start with a number
    5. EIdentifiers can include numbers
    6. FIdentifiers must start with a letter
    7. GThe underscore can be used in identifiers
    8. HThe dollar sign can be used in identifiers
    9. IThe exclamation point can be used in identifiers
  5. 5How many variables have been initialized in the following code?
    final int TOTAL = 50;
    int total = x;
    String Total = "Your total is: ";
    1. A1
    2. B2
    3. C3
  6. 6Which of the following are valid identifiers?
    1. A$maxHeight
    2. B0maxHeight_
    3. Cmax_height
    4. D$max_Height
    5. E!Maxheight
  7. 7What is the naming convention typically used for class names?
    1. Auppercase
    2. Btitle case
    3. Ccamel case
    4. Dthere is no convention
  8. 8What naming convention is typically used for constants?
    1. Atitle case
    2. Blowercase
    3. Cuppercase
    4. Dcamel case
    5. EThere is no naming convention for constants.
  9. 9How many lines of output is generated by the following code?
    System.out.print("Lorem ipsum dolor sit amet, consectetur adipiscing elit");
    System.out.print("sed do eiusmod tempor incididunt ut");
    System.out.println("labore et dolore magna aliqua. Ut enim ad");
    System.out.println("minim veniam, quis nostrud exercitation ");
    System.out.print("ullamco laboris nisi ut aliquip ex ea commodo consequat");
    System.out.println("Duis aute irure dolor in reprehenderit.");
    1. A1
    2. B2
    3. C3
    4. D4
    5. E5
  10. 10The println method advances output to the next line
    1. AVerdadeiro
    2. BFalso

Informações

Descrição
Study quiz for java based programming concepts
Idioma
English
Visualizações
2
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?