
DS - Chapter 4 - Strings
Authored by Cayden Henderson
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
42 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s1 = “HI”, s2 = “HELLO”, s3 = “BYE”. How can we concatenate the three strings?
strcat(s1,s2,s3)
strcat(s1,(strcat(s2,s3)))
strcpy(s1, strcat(s2,s3)
strcpy(s1, strcat(s3,s2)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
strlen(“Oxford University Press”) is?
22
24
23
25
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function adds a string to the end of another string?
stradd()
strcat()
strtok()
strcpy()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String Hello World can be read using scanf().
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string when read using scanf() needs an ampersand character.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The gets() function takes the starting address of a string which will hold the input.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
tolower() is defined in ctype.h header file.
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
Tugas Informatika Kelas X SMAN 1 Tjb
Quiz
•
10th Grade - University
40 questions
FE-Practice # 1
Quiz
•
12th Grade - University
40 questions
IOT_SARS
Quiz
•
University
39 questions
Karel Programming
Quiz
•
10th Grade - University
40 questions
CSM with Visca
Quiz
•
University
40 questions
Data pillar in digital transformation
Quiz
•
University
43 questions
GCSE Computer Science - 2.1-2.2
Quiz
•
University
42 questions
Final Coverage_Quiz 1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade