Code Twisters Round 1 Demo

Code Twisters Round 1 Demo

University

10 Qs

quiz-placeholder

Similar activities

C Programming Quiz

C Programming Quiz

University

15 Qs

ITS Python 變數與運算式課堂測驗

ITS Python 變數與運算式課堂測驗

6th Grade - University

10 Qs

Python Challenge

Python Challenge

University

15 Qs

Aula07 - Matrizes

Aula07 - Matrizes

University

12 Qs

Pretest Looping Lanjutan

Pretest Looping Lanjutan

University

10 Qs

Abstracciones procedimentales

Abstracciones procedimentales

University

10 Qs

Session 15 + 16 : Function

Session 15 + 16 : Function

University

13 Qs

Web Application - PHP Repetition

Web Application - PHP Repetition

University

15 Qs

Code Twisters Round 1 Demo

Code Twisters Round 1 Demo

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

SUNIL RAJ B

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

1. What is the format specifier for printing an integer in C?

%d

%c

%f

%s

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

2. Which operator is used to get the address of a variable?

*

&

-

@

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

3. Which of the following is a correct syntax to declare a pointer?

*int p;

int p*;

int *p;

int p;

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

4. Which function is used to read a string from standard input?

scanf()

fgets()

getch()

gets()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

5. Which loop guarantees at least one execution of the loop body?

for loop

do-while loop

while loop

None of the Above

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

6. What will be the output of printf("%d", 5/2);?

2

2.5

3

0

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

7. What is the return type of the malloc() function?

int

char*

void*

float*

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?