Search Header Logo

ppsc string questions

Authored by K.vinay kumar

Computers

University

Used 1+ times

ppsc string questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String is an array of

Characters

Integers

Floats

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

char name[]="DIPLOMA"; is equivalent to

char name[9]={'D','I','P','L','O','M','A','\O'}

char name[9]={'I','P','L','O','M','A','\O'}

char name[10];name="DIPLOMA";

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

gets() is used to read the _____input from keyboard

Strings without blanks only

Strings having blanks also

Strings of length 5 only

only numbers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

puts("\n") is equivalent to

scan("\n")

printf("\n")

PRINTF("\N")

Printf("\n")

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

'A'+1 gives

65

66

'B'

Both b and c

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

the ASCII stands for American Standard Code for ______Interchange

International

Informix

Information

Informal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

puts(s) is equivalent to

printf("%s),

printf("%c",s)

printf("%s\n",s)

printf("%s),\n\n")

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers