invicta

invicta

University

15 Qs

quiz-placeholder

Similar activities

Python Variable and Datatype Quiz

Python Variable and Datatype Quiz

University

11 Qs

cpp-while-loop

cpp-while-loop

University

10 Qs

ONLINE QUIZ

ONLINE QUIZ

University

15 Qs

Python Internship Quiz

Python Internship Quiz

12th Grade - University

15 Qs

Python quiz

Python quiz

KG - Professional Development

10 Qs

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

coding beast set 2

coding beast set 2

University

20 Qs

Python Basics

Python Basics

University

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