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

Quiz

Java syntax errors: find and fix mistakes in code

jason wheeler 5 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (5)

  1. 1find the lines that are wrong and list the mistakeImage for question 1
    1. A// Missing a cap letter
    2. B// not a method
    3. C// not enough closing brackets
    4. D// too many closing brakets
  2. 2How can you fix the mistake in line 1?
    1. Aimport java.util.Scanner;
    2. Bimport Java.util.scanner;
    3. CImport java.util.scanner;
    4. Dimport java.Util.scanner;
  3. 3How can you fix the last mistake
    1. AAdd another close curly braket
    2. Badd another clossing squeere braketet
  4. 4Find and say what is the mistakeImage for question 4
    1. AMissing a cap
    2. Bnot the right words
    3. Cmissing the simicolon
  5. 5how do you fix the mistake?
    1. Aname = JOptionpane.showInputDialog("What is your name?");
    2. Bname = JoptionPane.showInputDialog("What is your name?");

Information

Description
computer science Quiz on Untitled, created by jason wheeler on 03/12/2016.
Language
English
Views
2
Tags
computer science
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?