stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basic Java and Programming Concepts Flashcards | StudBud
Explore
/
Basic Java and Programming Concepts
Basic Java and Programming Concepts
13 terms
·
StudBud Administration
Imported from external platform
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
What is the boolean expression for the given circuit?
(A or B) xor not (B and C) or A
(A and B) or (not B and C) and A
(A and B) xor (not B or C) and A
(A and B) xor not (B or C) and A
2
What is the output for the given code segment?
1 3 5
1 3
1 3 5 5
1 3 5 7
3
If A, B and C are true, what is the output of the given circuit?
False
True
4
Aspecial member of a Java class that is used to create objects or instance to that class
Method
Object
Instance
Constructor
5
If A = true, C = true and B = false, what is the output of the given circuit?
False
True
6
If num = 4, what is the output for the given code segment?
1
24
3
120
7
What is the output of the code segment?
-19
-18
-16
-17
8
What is the output of the code segment?
-1
-36
error
1
9
What is the output for the given code segment?
1
5
2
6
10
What is the boolean expression for the given circuit?
X = not(A and B) and not(B or C)
X = not A and B and not B or C
X = not (A and B) and not(B and C)
X = not (A or B) or not(B and C)
11
Who is this guy?
The founder of Oracle
The founder of OOP
The founder of Java
I don't know
12
What does the keyword "final" mean in java?
a variable declared final, its value can’t be modified
a variable declared final, its value can’t be used
a variable declared final, its value can’t be shared
a variable declared final, its value can be modified
13
What does the table show?
Truth Table of the NOR
Truth table of the AND Gate
Truth table of the NAND Gate
Truth Table of the OR Gate