QUIZ II FINAL

QUIZ II FINAL

University

50 Qs

quiz-placeholder

Similar activities

Mitosis and Meiosis

Mitosis and Meiosis

9th Grade - University

47 Qs

PSYCHOLOGY QUIZ on Chapter 8 "Thinking & Language"

PSYCHOLOGY QUIZ on Chapter 8 "Thinking & Language"

9th Grade - University

50 Qs

Unit 5 Nursing 3 Anemia and Renal

Unit 5 Nursing 3 Anemia and Renal

KG - Professional Development

48 Qs

Review for Long Test 2

Review for Long Test 2

7th Grade - University

50 Qs

FORCE & MOTION review

FORCE & MOTION review

University

55 Qs

Preliminary Examination in NCM 116 Medical-Surgical Nursing

Preliminary Examination in NCM 116 Medical-Surgical Nursing

University

50 Qs

Leg and Foot

Leg and Foot

University

46 Qs

Exam 3 Cards and DM review

Exam 3 Cards and DM review

University

52 Qs

QUIZ II FINAL

QUIZ II FINAL

Assessment

Quiz

Science

University

Hard

Created by

V N GOKUL KRISHNA

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly shows the hierarchy of arithmetic operations in C?

/ + * -

* - / +

+ - / *

/ * + -

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To print out 'a' as an integer and 'b' as a decimal, which of the following printf() statement will you use?

printf("%f %lf", a, b)

printf("%f %f", a, b)

printf("%d %f", a, b)

printf("%f %d", a, b)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not logical operator?

&

&&

||

!

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When does the code block following while(x<100) execute?

When x is less than one hundred

When x is greater than one hundred

When x is equal to one hundred

while it wishes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Input/output function prototypes and macros are defined in which header file?

conio.h

stdlib.h

stdio.h

dos.h

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this C code?

#include <stdio.h>

int main()

{

printf("Hello World! %d \n", x);

return 0;

}

Hello World! x;

Hello World! followed by a junk value

Compile time error

Hello World!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a correct variable type?

int

real

float

char

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?