blitz

blitz

University

30 Qs

quiz-placeholder

Similar activities

C- Geniusia

C- Geniusia

University

25 Qs

Python Programming

Python Programming

University

25 Qs

Mock 2nd MCQ Python

Mock 2nd MCQ Python

University

25 Qs

Quiz - I

Quiz - I

University - Professional Development

25 Qs

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

Java Programming

Java Programming

University

30 Qs

Java Basics Recap

Java Basics Recap

9th Grade - University

25 Qs

Python Operators

Python Operators

University

35 Qs

blitz

blitz

Assessment

Quiz

Computers

University

Hard

Created by

CSI VRSEC

Used 8+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the four fundaments elements the make a language?

An alphabet,morphology,phonetics,and semantics

  • An alphabet, a lexis, phonetics, and semantics

  • An alphabet, a lexis, a syntax, and semantics

  • An alphabet, a lexis, phonetics, and semantics

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the expected behavior of the following program?

print("Hello!")

  • The program will output ("Hello!") to the screen

  • The program will generate an error message on the screen

  • The program will output  Hello! to the screen

  • The program will output "Hello!" to the screen

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the X variable at the following snippet?

int X = 8;

X = X - X / 2;

X = X *X / 4;

X = X + 2* X;

16

10

12

14

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following declarations are legal ?

float,floating ;

float,float ;

float long ;

float int ;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of the following code.

int Integer = 24;

char String = ‘I’;

System.out.print(Integer);

System.out.print(String);

Compiler

Throws exception

I

24 I

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the output of the following program.

String str = “abcde”;

System.out.println(str.substring(1, 3));


abc

bc

bcd

cd

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the X variable at the end of the following snippet?

int X;

X = ('r' - 's') * ('A' / 'Z');

1

0

The snippet is valid and will cause compilation error

2

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?