Basic Programming skills quiz
Which of the following is NOT a valid variable name?
Test_2
Num1
25_char
K
Which of the following is not a valid array declaration
Int[] array = new int[5]
Int[] array = {3, 6, 1, 6 , 2, 6}
String[] array = new String[3 + 6]
String[] array = new String{20}
Which of the following values cannot be assigned to a double variable
5 * 3
2 + 7.9
10
"50"
Which of the following makes the String value of "Hello world!"
"Hello" + "world!"
"Hello + world!"
"Hello " + "world!"
"Hell + oworld!"
Which of the following is would result in an error
For(int I = 0; I < 4)
For(String str : stringArray)
While(num != 5);
Do{ }while(num > 4);
Which of the following is not a valid value for a boolean variable in java
True
False
Null
Nothing
Assume int j = 5, which of the following makes k as 10
Int k = j + ++j - 1
Int k = j + j++ - 2
Int k = j + j - 2
Int k = j + j * 0 + 6
Which of the following would be suitable to assign grade to a mark
Switch statements
Multiple if...else
Nested multiple if...else
While loop
{"name":"Basic Programming skills quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Which of the following is NOT a valid variable name?, Which of the following is not a valid array declaration, Which of the following values cannot be assigned to a double variable","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
More Quizzes
Owasp top 10
20100
CNA Knowledge Quiz
15810
Supply Chain's Christmas Quiz
15816
Which MPS Committee Member Are You?
8425
Class Climate
210
Elive! (BHR Monthly Enewsletter) HQ – BUSINESS DEVELOPMENT
1050
Cybersecurity
210
Discover Your Inner Pookie!
1588
Seberapa Kristen Pengetahuanmu ?
10516
20100
LFCCRO sastav vs Derby (Liga kup. 20.09.2016., 20:45)
520
Vocabulary : Verkehermittel
12613