Search Header Logo

quizz3

Authored by CSI VRSEC

English

University

Used 1+ times

quizz3
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

In C language, FILE is of which data type?

int

char *

struct

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The standard header _______ is used for variable list arguments (…) in C.

<stdio.h >

<stdlib.h>

<math.h>

<stdarg.h>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is 3rd element in an array accessed based on pointer notation?

*a+3

*(a+3)

*(*a+3)

&(a+3)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code?

10

80

30

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code?

Compile time error

Hello is printed thrice

Nothing

Varies

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

{‘animal’: ‘horses’, ‘verb’: ‘are’, ‘adjective’: ‘fast’}

(‘horses’, ‘are’, ‘fast’)

‘horses are fast’

‘are’

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To read the entire remaining contents of the file as a string from a file object infile, we use ____________

infile.readline()

infile.readlines()

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?