Search Header Logo

midex_it1103

Authored by Ardi Moran

Computers

University

Used 1+ times

midex_it1103
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function calculates the square root of a number?

pow

sqrt

sin

cos

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function finds the first occurrence of a substring in a string?

strcpy

strchr

strstr

strcat

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function searches for a character within a string?

strstr

strcat

strchr

strcpy

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does strcmp return if two strings are identical?

0

-1

1

NULL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function appends one string to the end of another?

strcat

strcpy

strlen

strcmp

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following strcpy is used for?

To concatenate two strings

To copy one string to another

To compare two strings

To find the length of a string

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function returns the length of a string excluding the null terminator?

strcpy

strcat

strlen

strcmp

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?