) What will be the output of the following Java code?
class increment {
public static void main(String args[])
{
int g = 3;
System.out.print(++g * 8);
}
}
bt2 2023
Quiz
•
Business
•
University
•
Hard
Smiley Sunshine
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
) What will be the output of the following Java code?
class increment {
public static void main(String args[])
{
int g = 3;
System.out.print(++g * 8);
}
}
32
33
23
25
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
) Which of the following is correct?
class A:
def init(self,name):
self.name=name
a1=A("john")
a2=A("john")
id(a1) and id(a2) will have same value.
id(a1) and id(a2) will have different values
Two objects with same value of attribute cannot be created.
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed the Python language?
Zim Den
Guido van Rossum
Niene Stom
Wick van Rossum
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is #include <stdio.h>?
Preprocessor directive
Inclusion directive
File inclusion directive
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which company launched 'Savdhan Rahein, Safe Rahein' a public awareness campaign on financial fraud risks?
DCB Bank
Bajaj Finserv
SBI Capital
ICICI bank
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the logo.
Titan
Cisco
fastrack
Giordano
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the logo
Britannia
Lay's
Parle G
pingles
15 questions
GSKSM Quiz
Quiz
•
University
10 questions
FIN263 Chapter 4: NBFIs
Quiz
•
University
10 questions
NUTC Income - MIS
Quiz
•
University
15 questions
OTORITAS JASA KEUANGAN
Quiz
•
10th Grade - University
15 questions
CHAPTER 1_FINANCE
Quiz
•
University
15 questions
Revenue vs. Capital Expenditure
Quiz
•
University
10 questions
Contractual Adjustment Knowledge Check
Quiz
•
University
12 questions
Sources of finance
Quiz
•
11th Grade - University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade