PHP & MySQL - 14 - Variable Scope

PHP & MySQL - 14 - Variable Scope

12th Grade

12 Qs

quiz-placeholder

Similar activities

Osnove HTML-a

Osnove HTML-a

12th Grade

10 Qs

Kviz o specifikaciji mikroprocesora

Kviz o specifikaciji mikroprocesora

12th Grade

13 Qs

HTML osnove

HTML osnove

9th - 12th Grade

14 Qs

7.2.24' - 4.TR - SJiWP - JavaScript

7.2.24' - 4.TR - SJiWP - JavaScript

12th Grade

8 Qs

Internet i e-društvo

Internet i e-društvo

12th Grade

10 Qs

Lokalne mreže

Lokalne mreže

6th - 12th Grade

10 Qs

Internet

Internet

12th Grade

16 Qs

Funkcija

Funkcija

12th Grade

10 Qs

PHP & MySQL - 14 - Variable Scope

PHP & MySQL - 14 - Variable Scope

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Mirko Martinović

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kakva je varijabla $price?

globalna

lokalna

primarne

statička

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Što će nam se ispisati ako pozovemo funkciju myFunc?

10

price

$price

myFunc

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Možemo li ispisati varijablu $price izvan funkcije?

DA

NE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Možemo li pristupiti (izvan funkcije) varijabli $age koja nam prima vrijednost putem ulazne vrijednosti funkcije?

DA

NE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Varijabla $age je...

globalna

lokalna

opća

primarna

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Možemo li koristiti varijablu $name unutar funkcije sayHello()?

Ne možemo

Možemo

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Što smo napravili unutar funkcije s varijablom $name ?

Pretvorili smo ju u statičku varijablu

Pretvorili smo ju u lokalnu varijablu

Pretvorili smo ju u opću varijablu

Pretvorili smo ju u globalnu varijablu

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?