invicta

invicta

University

15 Qs

quiz-placeholder

Similar activities

C Programming - Quiz

C Programming - Quiz

University

20 Qs

Asas Arduino

Asas Arduino

University

20 Qs

BRAIN BUSTERS (ROUND2)

BRAIN BUSTERS (ROUND2)

University

20 Qs

Python Coding Contest

Python Coding Contest

University

20 Qs

c_programming_1

c_programming_1

University

14 Qs

Java day 2

Java day 2

University

15 Qs

Java Quiz-1

Java Quiz-1

University

20 Qs

DS Training QUIZ 1

DS Training QUIZ 1

University

16 Qs

invicta

invicta

Assessment

Quiz

Education

University

Hard

Created by

sowmya lakskmi

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the problem in the following C declarations?

int func(int); double func(int); int func(float);

A function with same name cannot have different signatures

A function with same name cannot have different return types

A function with same name cannot have different number of parameters

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of thr following snippet?

void main()

{

for(int i=0;i<3;i++);

printf("AAC\n");

}

AAC

AAC

AAC

AAC

AAC

AAC

AAC

AAC

AAC

AAC

AAC

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this C code?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. float f = 0.1;

  5. if (f == 0.1)

  6. printf("True");

  7. else

  8. printf("False");

  9. }

true

false

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C language was developed by ?

  1. Dennis Rechard

  1. Bjarne Stroustrup

  1. Dennis M. Ritchie

  1. Anders Hejlsberg

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C language is a successor to which language?

B

Basic

  1. Cobol

C++

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the datatype of the var in the below code snippet?

var = 10

print(type(var))

var = "Hello"

print(type(var))

int and str

str and str

int and int

str and int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


What will be the output of the following code snippet?

a = [1, 2, 3]

a = tuple(a)

a[0] = 2

print(a)

[2,2,3]

(2,2,3)

(1,2,3)

Error

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?