1/23
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is the file extension of a compiled Java program?
.exe
.class
.jar
jpg
.class
Which one of these is not an application?
InteliJ
Linux
Excel
Firefox
Linux
What is the file extension for a Java source code file?
.java
.exe
.class
.jar
.jpg
.java
Which one of these is not a programming language?
C++
Python
Fortran
Java
Windows
Windows
A binary number ending with two 0’s
cannot tell
is not a multiple of 4
is a multiple of 4
Is a multiple of 4
10102 is what in hexadecimal?
0xAA
0xB
0xA
0xF
0xA
Which one of these is not an object-oriented programming language (OOP)?
C
Java
C++
Python
Small Talk
C
Which one of these is not an operating system?
Microsoft Windows
Android
Linux
Java
MacOS
Java
A binary number ending with a one
is even
is odd
is negative
cannot tell
is odd
In a network, the computers providing services to the other computers are called
servers
laptops
clients
servers
The hex digit for A is
15
11
102
10
10
Using four bits, the largest positive binary number we can represent is 1111.
true
false
true
Given three declared and initialized int variables a, b, and c, which of the following is a valid Java statement?
a = b;
a * b = 12;
b = 8.7;
a + b = 8;
c = a / 2.3;
a = b;
What is the output of this code:
int a = 13 % 5;
System.out.println(a);
2.6
2.0
3
3.6
2
3
What is the output of this code:double a = (int) 12.0 / 5;
System.out.println(a);
2.4
2
0.2
2.000000000000
2.0
2.0