Tech quiz

Tech quiz

University

30 Qs

quiz-placeholder

Similar activities

Technical Quiz WCC

Technical Quiz WCC

University

30 Qs

Repaso C Cs50

Repaso C Cs50

University

30 Qs

FE Quiz

FE Quiz

University

25 Qs

Conceptos básicos de C++

Conceptos básicos de C++

University

25 Qs

Modeule-I-C

Modeule-I-C

University

25 Qs

DEBUGGING

DEBUGGING

University

26 Qs

Code Carrer 1st Year

Code Carrer 1st Year

University

30 Qs

Tech CivilWar

Tech CivilWar

University

30 Qs

Tech quiz

Tech quiz

Assessment

Quiz

Other

University

Medium

Created by

Legend Chayan

Used 7+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Q1. Which of the following is used to define a function in python?

A.)function

B.)def

C.)func

D.)define

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Q2)What is the correct syntax to declare a pointer in C?

A)int ptr

B)int* ptr

C)ptr int

D)int &ptr

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Q3.)Choose the odd one out?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

4.) Identify the output of the following code:

#include <stdio.h>

int main() {

int a = 5;

printf("%d", a++);

return 0;

}

A.)5

B.)6

C.)4

D.)none

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

5.) Which function is used to allocate memory dynamically in C?

A. malloc()

B. alloc()

C. memory()

D. calloc()

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

6. Which header file is required for using printf() function?

A. stdio.h

B. conio.h

C. stdlib.h

D. string.h

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

7. Which of the following is a logical operator in C?

A. &&

B. ||

C. !

D. All of the above

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?