EESE125 Quiz: Characters and Strings

EESE125 Quiz: Characters and Strings

University

25 Qs

quiz-placeholder

Similar activities

Assesment 1

Assesment 1

University

25 Qs

JavaScript Quiz

JavaScript Quiz

University

20 Qs

PHP Basics and Forms

PHP Basics and Forms

University

20 Qs

Pengenalan Bahasa Pemrograman Python

Pengenalan Bahasa Pemrograman Python

9th Grade - University

20 Qs

Computer Science Quiz

Computer Science Quiz

University

20 Qs

Module 6 - Computer Hardware: Input and Output

Module 6 - Computer Hardware: Input and Output

University

20 Qs

Year 8 Kodu Assessment

Year 8 Kodu Assessment

7th Grade - University

28 Qs

Python Quiz Girls in ICT Day

Python Quiz Girls in ICT Day

University

20 Qs

EESE125 Quiz: Characters and Strings

EESE125 Quiz: Characters and Strings

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Nangamso Duku

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string in C?

A boolean value

A floating-point number

A series of characters

A type of integer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used to denote the end of a string in C?

$

@

#

\0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to print a string in C?

write()

print()

printf()

output()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the first character of a string in C?

string.first()

string[0]

string.get(0)

string[1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the library?

To handle strings

To perform mathematical operations

To manage memory

To classify and manipulate characters

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function checks if a character is a digit?

isalpha()

isalnum()

isupper()

isdigit()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function atoi() do?

Converts a string to a float

Converts a string to an integer

Converts a string to a long integer

Converts a string to a double

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?