SLG IPC144 Week 11

SLG IPC144 Week 11

Professional Development

15 Qs

quiz-placeholder

Similar activities

BrightChamps Technical Round - C language

BrightChamps Technical Round - C language

Professional Development

15 Qs

ตัวแปรและประเภทข้อมูลในภาษาC

ตัวแปรและประเภทข้อมูลในภาษาC

Professional Development

10 Qs

QUIZ-5 static, String and StringBuffer

QUIZ-5 static, String and StringBuffer

Professional Development

20 Qs

Pentesting 03 - Exploitation

Pentesting 03 - Exploitation

Professional Development

20 Qs

Sammilan Quiz- Prelims

Sammilan Quiz- Prelims

Professional Development

20 Qs

CEH Study Guide - 03 Security Foundations

CEH Study Guide - 03 Security Foundations

Professional Development

20 Qs

C Programming Language Quiz

C Programming Language Quiz

Professional Development

19 Qs

MySQL

MySQL

Professional Development

20 Qs

SLG IPC144 Week 11

SLG IPC144 Week 11

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Novell Rasam

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

OPEN ENDED QUESTION

2 mins • 1 pt

What is the difference between getchar() and scanf()?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the case of a mismatch between the conversion specifier and the next character in the buffer, scanf()...

leaves the offending character in the buffer and returns to the caller

extracts the offending character from the buffer and returns to the caller

throws an exception

clears the buffer

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When using scanf() to accept two variables, in the scanf() you separate the conversion specifiers with a space.

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does %*c mean in scanf()?

Extract a character from the buffer and throw it out.

Extract a character from the buffer and store it to a variable.

Leave the character in the buffer.

Extract a string from the buffer.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

scanf() returns...

void

the number of addresses successfully filled

0 or 1

the number of addresses that failed to fill

6.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the difference between putchar() and printf()?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of printf("%010d", 4321);

0000004321

4321

4321

00000000004321

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?