ppsc string questions

ppsc string questions

University

25 Qs

quiz-placeholder

Similar activities

Technical Quiz WCC

Technical Quiz WCC

University

30 Qs

Quiz

Quiz

University

20 Qs

C - Structures

C - Structures

University

20 Qs

ITSA Selection Round 1

ITSA Selection Round 1

University

27 Qs

Pointers

Pointers

University

20 Qs

Python Programming - Test 1

Python Programming - Test 1

University - Professional Development

20 Qs

C - Flow Control

C - Flow Control

University

20 Qs

Programing Unit-2

Programing Unit-2

University

20 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?