Search Header Logo

Quiz o PHP i MySQL

Authored by Marcin Gerwatowski

Other

12th Grade

Used 4+ times

Quiz o PHP i MySQL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP jest używana do nawiązania połączenia z bazą danych MySQL?

a) mysql_connect()

b) mysqli_connect()

c) db_connect()

d) connect_db()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP wykonuje zapytanie SQL na bazie danych MySQL?

a) mysql_query()

b) mysqli_query()

c) db_query()

d) execute_query()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP jest używana do rozpoczęcia transakcji w MySQL?

a) mysqli_begin_transaction()

b) mysqli_start_transaction()

c) mysqli_autocommit(FALSE)

d) mysqli_transaction_begin()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP zwraca liczbę wierszy zwróconych przez zapytanie SELECT w MySQL?

a) mysqli_num_rows()

b) mysql_num_rows()

c) db_num_rows()

d) get_num_rows()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP jest używana do wykonania zapytania SQL z przygotowanymi instrukcjami w MySQL?

a) mysqli_stmt_prepare()

b) mysqli_stmt_execute()

c) mysqli_prepare()

d) mysqli_execute()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP jest używana do zamknięcia połączenia z bazą danych MySQL?

a) mysql_close()

b) mysqli_close()

c) db_close()

d) close_db()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP służy do ustawiania trybu raportowania błędów w połączeniu MySQLi?

a) mysqli_report()

b) mysqli_set_error_mode()

c) mysqli_error_reporting()

d) mysqli_set_report_mode()

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?