blitz

blitz

University

30 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

University

25 Qs

C UNIT 1 OPERATORS MCQ

C UNIT 1 OPERATORS MCQ

University

25 Qs

Input and output devices

Input and output devices

University

25 Qs

CRYPTERA 2k21

CRYPTERA 2k21

University

30 Qs

Python Function

Python Function

University

30 Qs

Uttunga Technical Team Round 1 (2022)

Uttunga Technical Team Round 1 (2022)

University

30 Qs

bug hunt(jr)

bug hunt(jr)

12th Grade - University

30 Qs

Python Quiz

Python Quiz

University

30 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?