ppsc string questions

ppsc string questions

University

25 Qs

quiz-placeholder

Similar activities

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

No Strings Attached

No Strings Attached

University

20 Qs

AlgoProg - Review Quiz

AlgoProg - Review Quiz

University

20 Qs

Programming in C(1)

Programming in C(1)

University

20 Qs

Computer Programming-2

Computer Programming-2

University

30 Qs

Quiz # 3- Computer Programming 2

Quiz # 3- Computer Programming 2

University

30 Qs

Pointers

Pointers

University

20 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

ppsc string questions

ppsc string questions

Assessment

Quiz

Computers

University

Hard

Created by

K.vinay kumar

Used 1+ times

FREE Resource

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")

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?