Search Header Logo

2TIB - FUNKCJE WBUDOWANE

Authored by Marcin Gerwatowski

Other

12th Grade

2TIB - FUNKCJE WBUDOWANE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP sprawdza, czy plik istnieje?

a) `file_exists()`

b) `is_file()`

c) `file_check()`

d) `is_readable()`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP jest używana do sortowania tablicy w kolejności rosnącej?

a) `sort()`

b) `rsort()`

c) `asort()`

d) `ksort()`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP zwraca długość ciągu znaków?

a) `strlen()`

b) `count()`

c) `substr()`

d) `strpos()`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP losowo sortuje elementy tablicy?

a) `shuffle()`

b) `random_sort()`, c) `array_shuffle()`, d) `rand_sort()`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaką funkcję w PHP używamy do formatowania ciągu znaków według określonego formatu?

a) `printf()`

b) `sprintf()`

c) `str_format()`

d) `string_format()`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP zwraca informację o typie zmiennej?

a) `gettype()`

b) `typeof()`, c) `checktype()`, d) `typeinfo()`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP wyświetla i formatuje informacje o zmiennej dla debugowania?

a) `debug_var()`

b) `var_dump()`

c) `dump()`

d) `show_var()`

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?