Quiz-1

Quiz-1

University - Professional Development

20 Qs

quiz-placeholder

Similar activities

Module 3 (Chassic) - Tank 300

Module 3 (Chassic) - Tank 300

Professional Development

15 Qs

Bases moleculares y cromosómicas de la herencia

Bases moleculares y cromosómicas de la herencia

University

20 Qs

WELTOR 2020/2021

WELTOR 2020/2021

University

20 Qs

QUIZ ON INDEPENDANCEDAY

QUIZ ON INDEPENDANCEDAY

KG - University

15 Qs

Fun with Computer Architecture

Fun with Computer Architecture

University

15 Qs

ĐC CNTT_Chương 1

ĐC CNTT_Chương 1

University

20 Qs

Supply-PKT-August-1

Supply-PKT-August-1

Professional Development

15 Qs

Quiz 1 sistem instalasi pemadam kebakaran

Quiz 1 sistem instalasi pemadam kebakaran

University

15 Qs

Quiz-1

Quiz-1

Assessment

Quiz

Mathematics, Computers, Other

University - Professional Development

Practice Problem

Hard

Created by

Anantha Lakshmi

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

1)What is meant by ‘a’ in the following C operation?

fp = fopen("Random.txt", "a");

Attach

Append

Add

Apprehend

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

2)What will be the final value of x in the following C code?

#include <stdio.h>

void main()

{

int x = 5 * 9 / 3 + 9;

}

3.75

Depends

on compiler

24

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

3)What will be the output of the following C code?

#include <stdio.h>

int main()

{

int i = 0;

while (i = 0)

printf("True\n");

printf("False\n");

}

True (infinite time)

True (1 time)

False

Compiler dependent

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

4)What will be the output of the following C code?

#include <stdio.h>

void main()

{

m();

m();

}

void m()

{

static int x = 5;

x++;

printf("%d", x);

}

6 7

6 6

5 5

5 6

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

5)Which of the following is not a valid C variable name?

int number;

float rate;

int variable_count;

int $main;

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

6)Which keyword is used to prevent any changes in the variable within a C program?

immutable

mutable

const

volatile

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

7)What will be the value of the following Python expression?

4 + 3 % 5

7

2

4

1

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?