Search Header Logo

blitz

Authored by CSI VRSEC

Computers

University

Used 8+ times

blitz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?