Internet Tehnologije 1

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Stefke
S
Stefke
Community Contributor
Quizzes Created: 1 | Total Attempts: 2,028
Questions: 90 | Attempts: 2,048

SettingsSettingsSettings
Internet Tehnologije 1 - Quiz

.


Questions and Answers
  • 1. 

    Trenutno aktuelna verzija HTML standarda je :

    • A.

      2

    • B.

      4

    • C.

      5

    • D.

      2

    • E.

      3

    Correct Answer
    C. 5
    Explanation
    The correct answer is 5 because it is the current version of the HTML standard.

    Rate this question:

  • 2. 

    Za uklanjanje fajlova sa fajl-sistema u PHP jeziku se koristi funkcija:

    • A.

      Unlink()

    • B.

      Rm()

    • C.

      Delete()

    Correct Answer
    A. Unlink()
    Explanation
    The correct answer is unlink(). This function is used in PHP language to remove files from the file system.

    Rate this question:

  • 3. 

    1.Ispravni nacini za prikaz novog reda u HTML dokumentima su:

    • A.

      Prekid tekuceg paragrafa I pocetak novog

    • B.

      Koriscenjem oznake

    • C.

      Unosenjem veceg broja razmaka za popunjavanje prethodnog reda

    • D.

      Unosenjem novog reda u izvorni tekst HTML dokumenta

    Correct Answer(s)
    A. Prekid tekuceg paragrafa I pocetak novog
    B. Koriscenjem oznake
    Explanation
    The correct answer is "prekid tekuceg paragrafa I pocetak novog" and "koriscenjem oznake". These are both valid ways to create a new line in HTML documents. The first option involves ending the current paragraph and starting a new one, while the second option involves using the tag to create a line break. Both methods are commonly used in HTML to create new lines and separate content.

    Rate this question:

  • 4. 

    U osnovne funkcije PHP jezika kojima se klijentu salje odgovor izvrsavanja spadaju:

    • A.

      Response

    • B.

      Setcookie

    • C.

      Session_start

    • D.

      Header

    • E.

      Send

    • F.

      Echo,print

    Correct Answer(s)
    B. Setcookie
    D. Header
    F. Echo,print
    Explanation
    The given answer includes the functions setcookie, header, echo, and print. These functions are used in PHP to send a response to the client. The setcookie function is used to set a cookie in the client's browser. The header function is used to send HTTP headers to the client. The echo and print functions are used to output data to the client's browser. Therefore, these functions are used to send a response to the client in PHP.

    Rate this question:

  • 5. 

    1.Jedan nacin da se informacija o nastaloj gresci pri izvrsavanju PHP funkcije ili iskaza ne prikaze niti zabelezi u fajlu jeste:

    • A.

      Uokvirivanje koda zagradama { i }

    • B.

      Komentovanje reda u kome se nalazi greska

    • C.

      Koriscenje operatora “@”

    Correct Answer
    C. Koriscenje operatora “@”
    Explanation
    The correct answer is "koriscenje operatora “@”" because using the "@" operator before a function or statement in PHP suppresses any error messages or warnings that would normally be displayed. This can be useful in certain situations where you want to ignore errors or handle them in a different way. However, it is generally not recommended to use the "@" operator as it can make debugging and troubleshooting more difficult.

    Rate this question:

  • 6. 

    Sam html element unutar HTML dokumenta sastoji se iz dva osnovna dela:

    • A.

      Tela(body)

    • B.

      Zaglavlja(head)

    • C.

      Deklaracije tipa dokumenta (Document type declaration, DTD)

    • D.

      Linkova ka povezanim CSS I JS fajlovima

    Correct Answer(s)
    A. Tela(body)
    B. Zaglavlja(head)
    Explanation
    The correct answer is that an HTML element within an HTML document consists of two basic parts: the body and the head. The body contains the content that is displayed on the webpage, such as text, images, and links. The head contains meta-information about the webpage, such as the title, character encoding, and links to related CSS and JavaScript files. The declaration of the document type (DTD) is not a part of the HTML element itself, but rather a statement at the beginning of the HTML document that specifies the version of HTML being used.

    Rate this question:

  • 7. 

    Za povezivanje HTML dokumenta sa sastavnim resursima samog dokumenta (slike, CSS definicije, javaScript dokumenti I sl.) prvenstveno se koriste:

    • A.

      Linkovi na nivou fajl-sistema

    • B.

      Instrukcije u telu dokumenta

    • C.

      Instrukcije u zaglavlju dokumenta

    Correct Answer
    C. Instrukcije u zaglavlju dokumenta
    Explanation
    The correct answer is "instrukcije u zaglavlju dokumenta" because to connect an HTML document with its constituent resources (images, CSS definitions, JavaScript documents, etc.), the instructions are primarily placed in the document's header. This is typically done using the element to specify the external CSS file or the element to specify the external JavaScript file. This allows the browser to load and apply these resources before rendering the rest of the document's content.

    Rate this question:

  • 8. 

    1.Tri osnovna tipa gresaka kod izvrsavanja php skriptova su:

    • A.

      Sintaksna greska(engl. Syntax error)

    • B.

      Fatalna greska (faral error)

    • C.

      Logicka greska(logic error)

    • D.

      Upozorenje(warrning)

    • E.

      Opomena(notice)

    • F.

      Runtime error

    Correct Answer(s)
    B. Fatalna greska (faral error)
    D. Upozorenje(warrning)
    E. Opomena(notice)
    Explanation
    The correct answer is "fatalna greska (faral error), upozorenje (warning), opomena (notice)". These are the three basic types of errors that can occur during the execution of a PHP script. A "fatal error" is a critical error that causes the script to terminate. A "warning" is a non-critical issue that may affect the script's functionality. A "notice" is an informational message that highlights potential problems in the script. These errors help developers identify and debug issues in their code.

    Rate this question:

  • 9. 

    Oznaka za eksponentni tekst je:

    • A.

      Sub

    • B.

      Sup

    • C.

      Em

    • D.

      Strong

    Correct Answer
    B. Sup
    Explanation
    The correct answer is "sup" because the "sup" tag is used in HTML to represent superscript text, which is a smaller font size and positioned above the baseline. This is commonly used for mathematical equations, footnotes, and citations.

    Rate this question:

  • 10. 

    Najpopularnija resenja za programiranje na strain servera su:

    • A.

      JavaScript

    • B.

      ASP

    • C.

      ActionScript

    • D.

      CSS

    • E.

      PHP

    • F.

      JSP

    Correct Answer(s)
    B. ASP
    E. PHP
    F. JSP
    Explanation
    The correct answer includes the programming languages ASP, PHP, and JSP as the most popular solutions for server-side programming. These languages are widely used for developing dynamic web applications and have extensive support and resources available for developers. ASP is a Microsoft technology used for building web applications, PHP is a popular open-source scripting language, and JSP (JavaServer Pages) is a Java-based technology for creating dynamic web content.

    Rate this question:

  • 11. 

    Oznaka za dodavanje pasusa u HTML document je:

    • A.

      Paragraph

    • B.

      Pasus

    • C.

      P

    Correct Answer
    C. P
    Explanation
    The correct answer is "p". In HTML, the "p" tag is used to define a paragraph. It is a block-level element that creates a new paragraph and adds spacing before and after the content within the tag. By using the "p" tag, you can structure your text into paragraphs, making it easier to read and understand.

    Rate this question:

  • 12. 

    HTML document definise tri tipa dugmadi, u zavisnosti od njihove namene:

    • A.

      Dugmad bez podrazumevane akcije(Koriste se JavaScript jezikom)

    • B.

      Dugmad za ucitavanje drugih dokumenata

    • C.

      Dugmad za osvezavanje stranice

    • D.

      Dugmad za resetovanje sadrzaja formulara za pocetno stanje

    • E.

      Dugmad za slanje sadrzaja unetog u formular

    Correct Answer(s)
    A. Dugmad bez podrazumevane akcije(Koriste se JavaScript jezikom)
    D. Dugmad za resetovanje sadrzaja formulara za pocetno stanje
    E. Dugmad za slanje sadrzaja unetog u formular
    Explanation
    The correct answer is that the HTML document defines three types of buttons based on their purpose: buttons without a default action (which are typically used with JavaScript), buttons for loading other documents, and buttons for refreshing the page. Additionally, there are buttons for resetting the content of a form to its initial state and buttons for submitting the content entered in a form.

    Rate this question:

  • 13. 

    HTML jezik poseduje predefinisane oznake za koliko nivoa zaglavlja

    • A.

      6

    • B.

      1

    • C.

      Nijedan

    Correct Answer
    A. 6
    Explanation
    HTML jezik poseduje predefinisane oznake za 6 nivoa zaglavlja. Ovo znači da se u HTML-u može koristiti 6 različitih oznaka za označavanje naslova ili zaglavlja na stranici. Ove oznake se obično koriste za organizaciju i strukturiranje sadržaja na web stranici, pri čemu se naslovi obično koriste za označavanje važnih delova sadržaja.

    Rate this question:

  • 14. 

    U kontrole za preuzimanje teksta (slobodnog unosa) od strane korisnika u okviru formulara u  HTML dokumentima spadaju kontrole za:

    • A.

      Unos jednog reda teksta

    • B.

      Radio-dugmad

    • C.

      Padajuci meniji

    • D.

      Unos lozinki

    • E.

      Unos dva reda teksta

    • F.

      Unos vise redova teksta

    Correct Answer(s)
    A. Unos jednog reda teksta
    F. Unos vise redova teksta
    Explanation
    The correct answer is "unos jednog reda teksta, unos vise redova teksta." This is because in HTML forms, you can use the input type "text" for single-line text input and the textarea element for multi-line text input. These controls allow users to enter text, either in a single line or multiple lines, depending on the requirements of the form.

    Rate this question:

  • 15. 

    . Sablonizatori su softverske komponente koje omogucavaju da se :

    • A.

      Definicija logike aplikacije cuva odvojeno od definicije prikaza

    • B.

      Veb aplikacija brzo razvije po vec ustaljenom modelu(sablonu) Ovo je najverovatnije, jer stvarno nemam pojma sta je sablonizator, ne znam sta su ovo preveli, mislim da je template engine.

    • C.

      U novim veb aplikacijama koriste vec razvijene biblioteke

    Correct Answer
    B. Veb aplikacija brzo razvije po vec ustaljenom modelu(sablonu) Ovo je najverovatnije, jer stvarno nemam pojma sta je sablonizator, ne znam sta su ovo preveli, mislim da je template engine.
    Explanation
    A template engine, or a "sablonizator" in this context, is a software component that allows the separation of application logic from the presentation. It enables the rapid development of web applications based on established templates or models. This answer suggests that using a template engine allows for the quick development of web applications based on established templates or models, which aligns with the explanation of what a template engine does.

    Rate this question:

  • 16. 

    U zaglavlju HTML dokumenta cuvaju se:

    • A.

      Veze ka stilovima prikaza I javaScript skriptovima

    • B.

      Naslov

    • C.

      Opis

    • D.

      Kljucne reci

    • E.

      Sadrzaj koji se prikazuje u veb brauzeru

    • F.

      Informacija o verziji HTML

    • G.

      Binarni sadrzaji

    Correct Answer(s)
    A. Veze ka stilovima prikaza I javaScript skriptovima
    B. Naslov
    C. Opis
    D. Kljucne reci
    Explanation
    In the header of an HTML document, various elements are stored such as links to style sheets and JavaScript scripts, the title of the document, a description, keywords, and the content that is displayed in a web browser. These elements help define the structure, appearance, and functionality of the webpage. Additionally, the header may also contain information about the version of HTML being used.

    Rate this question:

  • 17. 

    Pristup sesijskoj memoriji u PHP jeziku vrsi se pomocu:

    • A.

      Funkcije session_read($var)

    • B.

      Sve definisane promenljive se odmah nalaze u sesijskoj memoriji

    • C.

      Promenljive $_SESSION

    Correct Answer
    C. Promenljive $_SESSION
    Explanation
    The correct answer is "promenljive $_SESSION". In PHP, session variables are stored in the $_SESSION superglobal array. This array allows you to access and manipulate session data throughout the duration of a user's session on your website. By using $_SESSION, you can store and retrieve session variables easily.

    Rate this question:

  • 18. 

    21.Za kodovanje teksta u HTML dokumentima danas je preporuceno koriscenje standard:

    • A.

      ASCII

    • B.

      Heksadecimalno

    • C.

      Unicode

    Correct Answer
    C. Unicode
    Explanation
    Unicode is the recommended standard for encoding text in HTML documents today. Unicode is a character encoding system that supports a wide range of characters from different writing systems around the world. It allows for the representation of characters in various languages, including those with different scripts and symbols. This ensures that text can be displayed accurately and consistently across different platforms and devices, regardless of the language used. Using Unicode allows for greater inclusivity and accessibility in web content.

    Rate this question:

  • 19. 

    Tabele I liste (numerisane ili nenumerisane ) treba da se nalaze:

    • A.

      Unutar paragrafa

    • B.

      Unutar zaglavlja dokumenta

    • C.

      Van paragrafa

    Correct Answer
    C. Van paragrafa
    Explanation
    The correct answer is "Van paragrafa" which means "Outside of the paragraph" in English. This suggests that tables and lists should be placed outside of the paragraphs in a document. They can be placed as separate elements within the document, either before or after the paragraphs, in order to organize and present information in a clear and structured manner.

    Rate this question:

  • 20. 

    Deklaracija tipa dokumenta(Document Type Declaration, DTD) sluzi da veb brauzeru klijenta pruzi informaciju:

    • A.

      Da je u pitanju tekstualni dokument

    • B.

      Kom tipu/verziji HTML je rec

    • C.

      Sa kog internet domena je ucitan document

    Correct Answer
    B. Kom tipu/verziji HTML je rec
    Explanation
    The correct answer is that the Document Type Declaration (DTD) provides information to the client's web browser about the type/version of HTML being used in the document.

    Rate this question:

  • 21. 

    Postoji vise nacina da se veb brauzer informise o nacinu na koji je tekst dokumenta kodovan:

    • A.

      Odgovarajucom direktivom u pridruzenom CSS fajlu

    • B.

      Koriscenjem charset atributa kod hiper-veza koje vode ka dokumentu

    • C.

      U okviru zaglavlja HTTP protokola

    • D.

      Dodavanjem u zaglavlje dokumentima oznake meta sa vrednoscu UTF-8 za atribut charset

    • E.

      Koriscenjem byte-order mark(BOM) na pocetku dokumenta

    • F.

      Postavljanjem celokupnog sadrzaja sajta u direktorijum pod nazivom “utf8”

    Correct Answer(s)
    C. U okviru zaglavlja HTTP protokola
    E. Koriscenjem byte-order mark(BOM) na pocetku dokumenta
    Explanation
    The correct answer is "u okviru zaglavlja HTTP protokola". This means that the web browser can be informed about the encoding of the text document through the HTTP protocol header.

    Rate this question:

  • 22. 

    Novi red unutar izvornog teksta HTML dokumenata sa prilikom interpretacije:

    • A.

      Potpuno ignorise

    • B.

      Prikazuje u vidu novog reda

    • C.

      Poistovecuje sa razmacima

    Correct Answer
    C. Poistovecuje sa razmacima
    Explanation
    When interpreting HTML documents, a new line is treated as a space or a whitespace character. This means that it is considered as a gap or a separator between words or elements, but it does not create a visible line break in the rendered output. Therefore, the new line is essentially treated as a space or a series of spaces, similar to how spaces between words are treated.

    Rate this question:

  • 23. 

    21.Najpopularniji jezik za razvoj veb aplikacija danas je:

    • A.

      C#

    • B.

      CGI

    • C.

      PHP

    Correct Answer
    C. PHP
    Explanation
    PHP is the most popular language for web application development today. It is widely used due to its simplicity, flexibility, and extensive community support. PHP allows developers to easily create dynamic and interactive websites, making it a preferred choice for building web applications. Additionally, PHP has a large number of frameworks and libraries available, which further simplifies the development process and enables developers to create robust and scalable web applications.

    Rate this question:

  • 24. 

    Za kodovanje teksta u HTML dokumentima danas je preporuceno koriscenje standard:

    • A.

      Unicode

    • B.

      ASCII

    • C.

      Heksadecimalno

    Correct Answer
    A. Unicode
    Explanation
    Unicode is the recommended standard for encoding text in HTML documents today. It allows for the representation of all characters from various writing systems around the world, making it suitable for multilingual content. ASCII is a limited character encoding system that only represents a small subset of characters used in the English language. Hexadecimal is a numbering system used to represent numbers, but it is not a standard for encoding text in HTML documents.

    Rate this question:

  • 25. 

    HTML oznaka za indeksni tekst je:

    • A.

      Strong

    • B.

      Em

    • C.

      Sup

    • D.

      Sub

    Correct Answer
    D. Sub
    Explanation
    The correct answer is "sub" because the HTML tag "sub" is used to indicate subscript text. Subscript text is typically displayed as a smaller font size and positioned slightly below the baseline of the surrounding text. This is commonly used for mathematical formulas, chemical formulas, footnotes, and other similar purposes.

    Rate this question:

  • 26. 

    U osnovne tipove promenljibih u PHP programskom jeziku spadaju:

    • A.

      Objekti kao instance klasa(object)

    • B.

      Logicka vrednost(boolean)

    • C.

      Nizovi elemenata(array)

    • D.

      Niz simbola(string)

    • E.

      Celobrojna I decmalna vrednost (integer I float)

    Correct Answer(s)
    B. Logicka vrednost(boolean)
    D. Niz simbola(string)
    E. Celobrojna I decmalna vrednost (integer I float)
    Explanation
    The basic types of variables in the PHP programming language include boolean values, string arrays, and integer and float values.

    Rate this question:

  • 27. 

    U PHP jeziku tip I vrednost promenljive se tokom izvrsavanja mogu menjati

    • A.

      Tacno

    • B.

      Zavisi od verzije php

    • C.

      Netacno

    Correct Answer
    A. Tacno
    Explanation
    In the PHP language, the type and value of a variable can be changed during execution. This means that a variable can initially hold a string value and later be assigned an integer value, for example. This flexibility allows for dynamic and adaptable programming in PHP.

    Rate this question:

  • 28. 

    21.Primer HTML elementa koji u sebi moze da sadrzi druge elemente je

    • A.

      Br

    • B.

      Hr

    • C.

      Ul

    Correct Answer
    C. Ul
    Explanation
    The correct answer is "ul" because the "ul" element in HTML represents an unordered list. This means that it can contain other elements such as list items ("li") within it. The "br" element represents a line break, the "hr" element represents a horizontal rule, and they cannot contain other elements. Therefore, the "ul" element is the only option that fits the description.

    Rate this question:

  • 29. 

    Oznaka za umetanje grafickog sadrzaja u hipertekstualne dokumente je

    • A.

      Img

    • B.

      Graph

    • C.

      Image

    • D.

      Grapich

    Correct Answer
    A. Img
    Explanation
    The correct answer is "img". In HTML, the "img" tag is used to insert graphical content, such as images, into hypertext documents. This tag is followed by attributes that specify the source of the image, its dimensions, and other properties.

    Rate this question:

  • 30. 

    Nazivi sistematskih (predefinisanih) promenljivih u PHP jeziku pocinju znakom:

    • A.

      #

    • B.

      &

    • C.

      _

    Correct Answer
    C. _
    Explanation
    The correct answer is "_". In PHP, the system-defined variables are prefixed with an underscore (_) symbol.

    Rate this question:

  • 31. 

    U slucaju da je unutar tabele u HTML dokumentu potrebno prosiriti prostiranje celije na vise mesta vertikalno, za to se koristi atribut:

    • A.

      Rowspan

    • B.

      Merge

    • C.

      Merge-v

    Correct Answer
    A. Rowspan
    Explanation
    The correct answer is "rowspan". In HTML tables, the "rowspan" attribute is used to specify how many rows a cell should span vertically. This attribute allows a cell to occupy multiple rows in the table, effectively merging and expanding its vertical space.

    Rate this question:

  • 32. 

    Hiper veze omogucavaju da se nekom element u telu HTML dokumenta(deo teksta, slika):

    • A.

      Pridruzi odredjena osobina(natpis, pozadinska boja I sl)

    • B.

      Pridruzi veza ka nekom drugom dokumentu ili delu(fragmentu) aktuelnog dokumenta

    • C.

      Pridruzi sadrzaj koji se nalazi u nekom drugom fajlu

    Correct Answer
    B. Pridruzi veza ka nekom drugom dokumentu ili delu(fragmentu) aktuelnog dokumenta
    Explanation
    Hiper veze omogućavaju da se nekom elementu u telu HTML dokumenta pridruži veza ka nekom drugom dokumentu ili delu (fragmentu) aktuelnog dokumenta. To znači da klikom na tu vezu, korisnik će biti preusmeren na drugi dokument ili deo trenutnog dokumenta koji je povezan sa tom vezom.

    Rate this question:

  • 33. 

    21.Kod poredjenja dve promenljive u PHP jeziku, ukoliko zelimo da poredimo I njihov tip koristicemo:

    • A.

      Jedan znak jednakosti

    • B.

      Tri znaka jednakosti

    • C.

      Dva znaka jednakosti

    Correct Answer
    B. Tri znaka jednakosti
    Explanation
    In PHP, when comparing two variables and we want to compare their type as well, we use three equal signs (===). This is called the "identical" operator. It checks if the values of the two variables are equal and if their types are also the same.

    Rate this question:

  • 34. 

    Skracenica HTML oznacava

    • A.

      HyperTransfer Markup Language

    • B.

      HyperText Markup Language

    • C.

      HighTech Markup Language

    Correct Answer
    B. HyperText Markup Language
    Explanation
    HTML stands for HyperText Markup Language. It is a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on web pages. The term "HyperText" refers to the ability to link and access information through hyperlinks, while "Markup Language" refers to the use of tags to define the structure and presentation of the content. Therefore, the correct answer is HyperText Markup Language.

    Rate this question:

  • 35. 

    21.Poseban tip promenljivih u PHP jeziku u kojima se cuvaju uspostavljene veze ka bazi podataka, fajlovima I slicno, nazivaju se:

    • A.

      Nizovi elemenata

    • B.

      Resursi

    • C.

      Objekti kao instance klasa

    • D.

      Celobrojna I decimalna vrednost

    • E.

      Niz simbola

    • F.

      Logicka vrednost

    Correct Answer
    B. Resursi
    Explanation
    In PHP, a special type of variable that is used to store established connections to databases, files, and similar resources is called "resursi". This type of variable is used to hold references to external resources that are needed for the execution of a PHP script. These resources can include database connections, file handles, network sockets, and more. By using "resursi" variables, PHP can manage and manipulate these external resources efficiently and effectively.

    Rate this question:

  • 36. 

    Za dodeljivanje tekstualne oznake kontrolama u formularima HTML dokumenata koristi se oznaka:

    • A.

      Caption

    • B.

      Label

    • C.

      Legend

    Correct Answer
    B. Label
    Explanation
    The correct answer is "label". In HTML forms, the "label" tag is used to assign a textual label to form controls such as input fields, checkboxes, and radio buttons. This label helps in providing a description or name for the associated control, making it more accessible and user-friendly. It also allows users to click on the label to select the associated control, improving the overall usability of the form.

    Rate this question:

  • 37. 

    Jedan od najpoznatijih sablonizatora za PHP programski jezik je:

    • A.

      Zend Framework

    • B.

      Smarty

    • C.

      JavaScript

    • D.

      CSS

    Correct Answer
    B. Smarty
    Explanation
    Smarty is a well-known templating engine for the PHP programming language. It provides a way to separate the presentation logic from the business logic in web applications. With Smarty, developers can create reusable templates that can be easily maintained and updated. It offers features like variable interpolation, conditionals, loops, and filters, making it a popular choice among PHP developers for building dynamic and scalable web applications.

    Rate this question:

  • 38. 

    U slozene tipove promenljivih u PHP programskom jeziku spadaju:

    • A.

      Niz simbola

    • B.

      Niz elemenata

    • C.

      Logicka vrednost

    • D.

      Objekti kao instance klasa

    • E.

      Celobrojna I decimalna vrednost

    Correct Answer(s)
    B. Niz elemenata
    D. Objekti kao instance klasa
    Explanation
    The correct answer is "niz elemenata" and "objekti kao instance klasa" because in PHP programming language, complex variable types include arrays (niz elemenata) which can store multiple values in a single variable, and objects (objekti kao instance klasa) which are instances of classes and can contain both properties and methods. The other options such as "niz simbola" (array of characters), "logicka vrednost" (boolean value), and "celobrojna I decimalna vrednost" (integer and decimal value) are not considered as complex variable types in PHP.

    Rate this question:

  • 39. 

    Relativno adresovanje kod hiper veza ograniceno je samo na dokumente koji se:

    • A.

      Ne mogu adresovati apsolutnim putanjama

    • B.

      Nalaze na istom veb sajtu

    • C.

      Nalaze u istom direktorijumu

    Correct Answer
    B. Nalaze na istom veb sajtu
    Explanation
    Relativno adresovanje kod hiper veza je ograničeno samo na dokumente koji se nalaze na istom veb sajtu. To znači da se relativne putanje koriste kada se želi pristupiti dokumentima koji se ne mogu adresovati apsolutnim putanjama, već se nalaze unutar istog veb sajta. Relativne putanje su korisne kada se želi pristupiti dokumentima koji se nalaze u istom direktorijumu ili poddirektorijumu kao i trenutni dokument.

    Rate this question:

  • 40. 

    21.Sledeci PHP kod:$x=3; Function PovecanjeBroja(){Global $x;$x=4}povecanjeBroja();echo $x;kao rezutat izvrsavanja dace:

    • A.

      3

    • B.

      4

    • C.

      Kod nije ispravan

    Correct Answer
    B. 4
    Explanation
    The given code snippet defines a variable $x with a value of 3. Then, there is a function called PovecanjeBroja which uses the "global" keyword to access and modify the value of $x. Inside the function, the value of $x is changed to 4. After that, the function is called and the value of $x is printed using the echo statement. Since the value of $x was modified inside the function, the output will be 4.

    Rate this question:

  • 41. 

    Za koriscenje sesijske memorije u PHP jeziku potrebno je:

    • A.

      Pozvati funkciju session_start() na pocetku izvrsavanja

    • B.

      Instalirati Merncached ekstenziju

    • C.

      Kreirati virtualni fajl-sistem u radnoj memoriji

    Correct Answer
    A. Pozvati funkciju session_start() na pocetku izvrsavanja
    Explanation
    To use session memory in PHP language, it is necessary to call the function session_start() at the beginning of execution. This function initializes a new session or resumes an existing session, allowing the use of session variables to store and retrieve data across multiple pages or requests.

    Rate this question:

  • 42. 

    Dva osnovna (korena) elementa koje HTML document mora da sadrzi su:

    • A.

      Veza ka CSS definiciji prikaza

    • B.

      Html element

    • C.

      Informacija o nacinu kodovanja

    • D.

      Deklaracija njegovog tipa

    • E.

      Link ka susednom dokumentu

    Correct Answer(s)
    B. Html element
    D. Deklaracija njegovog tipa
    Explanation
    An HTML document must contain an HTML element, which serves as the root element of the document. This element encapsulates the entire content of the document. Additionally, the document must include a declaration of its type, which specifies that it is an HTML document. These two elements are essential for creating a valid HTML document.

    Rate this question:

  • 43. 

    Za dodavanej stavki u numerisane I nenumerisane liste u HTML dokumentima koriste se oznake:

    • A.

      Item

    • B.

      Li

    • C.

      List-item

    Correct Answer
    B. Li
    Explanation
    In HTML documents, the tags used for adding items to numbered and unordered lists are "li" tags. These tags represent list items and are used to create individual items within a list.

    Rate this question:

  • 44. 

    Pristup sesijskoj memoriji u php jeziku vrsi se pomocu:

    • A.

      Funkcije sessions_read($var)

    • B.

      Sve definisane promenljive se odmah nalaze u sesijskoj memoriji

    • C.

      Promenljive $_SESSION

    Correct Answer
    C. Promenljive $_SESSION
    Explanation
    The correct answer is "promenljive $_SESSION". In PHP, accessing session memory is done using the $_SESSION variable. This variable allows you to store and retrieve data across multiple pages or requests within a session. It provides a way to maintain state and store user-specific information.

    Rate this question:

  • 45. 

    Pri interpretiranju HTML koda tabulatori se:

    • A.

      Potpuno ignorisu

    • B.

      Tretiraju kao tri vezana razmaka

    • C.

      Poistovecuju sa razmacima

    Correct Answer
    C. Poistovecuju sa razmacima
    Explanation
    When interpreting HTML code, tabulators are considered as spaces. This means that any tabulators present in the code will be treated as if they were regular spaces.

    Rate this question:

  • 46. 

    Najjednostavnija sintaksa za definisanje nizova u PHP jeziku je:

    • A.

      $boje = ‘crvena’,’plava’,’bela’;

    • B.

      $boje=[‘crvena’,’plava’,’bela’];

    • C.

      $boje=array(‘crvena’,’plava’,’bela’);

    Correct Answer
    B. $boje=[‘crvena’,’plava’,’bela’];
    Explanation
    The correct answer is $boje=[‘crvena’,’plava’,’bela’]; because it uses the correct syntax for defining an array in PHP. The square brackets [] are used to enclose the elements of the array, and each element is separated by a comma. The elements in this array are strings, indicated by the use of single quotes around each element.

    Rate this question:

  • 47. 

    21.Sledeci PHP kod:$ime = “Petar”;$pp = “ime”;Echo $$pp; ce ispisati 

    • A.

      Pp

    • B.

      Petar

    • C.

      Ime

    Correct Answer
    B. Petar
    Explanation
    The given PHP code assigns the string "Petar" to the variable $ime and the string "ime" to the variable $pp. The expression $$pp is a variable variable, which means that it takes the value of the variable whose name is stored in $pp. In this case, the value of $pp is "ime", so $$pp is equivalent to $ime. Therefore, when the code is executed, it will output "Petar".

    Rate this question:

  • 48. 

    21.Osnovna jedinica za organizaciju teksta u HTML dokumentu je:

    • A.

      Red

    • B.

      Poglavlje

    • C.

      Paragraf(pasus)

    Correct Answer
    C. Paragraf(pasus)
    Explanation
    The correct answer is "paragraf (pasus)." In HTML, the basic unit for organizing text is a paragraph. A paragraph is used to group related sentences or content together. It is represented by the tag in HTML and is commonly used to structure and format text on a webpage.

    Rate this question:

  • 49. 

    Nakon izvrsavanja sledeceg PHP koda:$bp=mysqli_connect(“localhost”, “korisnik”,”baza”);Ocekivani tip promenljive $bp je:

    • A.

      True

    • B.

      Connection

    • C.

      Resource

    Correct Answer
    C. Resource
    Explanation
    After executing the given PHP code, the expected type of the variable $bp is a resource. The function mysqli_connect() is used to establish a connection to a MySQL database, and it returns a resource object representing the connection. This resource can then be used for performing various database operations. Therefore, the variable $bp should be of type resource to store the connection object returned by mysqli_connect().

    Rate this question:

  • 50. 

    Sledeci PHP kod:$x=1;If($==true)Echo “jedan”Echo “dva”Kao rezultat dace:

    • A.

      Nista nece ispisati

    • B.

      Jedan dva

    • C.

      Jedan

    • D.

      Dva

    Correct Answer
    B. Jedan dva
    Explanation
    The given PHP code assigns the value 1 to the variable $x. The if statement checks if the value of $x is true. Since the value of $x is 1, which is considered as true in PHP, the condition is met. As a result, the code will execute the first echo statement and output "jedan". Then, it will continue to execute the next line, which is another echo statement, and output "dva". Therefore, the final result will be "jedan dva".

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 03, 2017
    Quiz Created by
    Stefke
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.