1.
Trenutno aktuelna verzija HTML standarda je :
Correct Answer
C. 5
Explanation
The correct answer is 5 because it is the current version of the HTML standard.
2.
Za uklanjanje fajlova sa fajl-sistema u pHP jeziku se koristi funkcija:
Correct Answer
A. Unlink()
Explanation
The correct answer is unlink(). This function is used in PHP language to remove files from the file system.
3.
1.Ispravni nacini za prikaz novog reda u HTML dokumentima su:
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.
4.
U osnovne funkcije pHP jezika kojima se klijentu salje odgovor izvrsavanja spadaju:
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.
5.
1.Jedan nacin da se informacija o nastaloj gresci pri izvrsavanju pHP funkcije ili iskaza ne prikaze niti zabelezi u fajlu jeste:
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.
6.
Sam html element unutar HTML dokumenta sastoji se iz dva osnovna dela:
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.
7.
Za povezivanje HTML dokumenta sa sastavnim resursima samog dokumenta (slike, CSS definicije, javaScript dokumenti I sl.) prvenstveno se koriste:
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.
8.
1.Tri osnovna tipa gresaka kod izvrsavanja php skriptova su:
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.
9.
Oznaka za eksponentni tekst je:
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.
10.
Najpopularnija resenja za programiranje na strain servera su:
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.
11.
Oznaka za dodavanje pasusa u HTML document je:
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.
12.
HTML document definise tri tipa dugmadi, u zavisnosti od njihove namene:
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.
13.
HTML jezik poseduje predefinisane oznake za koliko nivoa zaglavlja
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.
14.
U kontrole za preuzimanje teksta (slobodnog unosa) od strane korisnika u okviru formulara u HTML dokumentima spadaju kontrole za:
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.
15.
. Sablonizatori su softverske komponente koje omogucavaju da se :
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.
16.
U zaglavlju HTML dokumenta cuvaju se:
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.
17.
Pristup sesijskoj memoriji u pHP jeziku vrsi se pomocu:
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.
18.
21.Za kodovanje teksta u HTML dokumentima danas je preporuceno koriscenje standard:
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.
19.
Tabele I liste (numerisane ili nenumerisane ) treba da se nalaze:
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.
20.
Deklaracija tipa dokumenta(Document Type Declaration, DTD) sluzi da veb brauzeru klijenta pruzi informaciju:
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.
21.
Postoji vise nacina da se veb brauzer informise o nacinu na koji je tekst dokumenta kodovan:
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.
22.
Novi red unutar izvornog teksta HTML dokumenata sa prilikom interpretacije:
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.
23.
21.Najpopularniji jezik za razvoj veb aplikacija danas je:
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.
24.
Za kodovanje teksta u HTML dokumentima danas je preporuceno koriscenje standard:
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.
25.
HTML oznaka za indeksni tekst je:
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.
26.
U osnovne tipove promenljibih u pHP programskom jeziku spadaju:
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.
27.
U pHP jeziku tip I vrednost promenljive se tokom izvrsavanja mogu menjati
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.
28.
21.Primer HTML elementa koji u sebi moze da sadrzi druge elemente je
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.
29.
Oznaka za umetanje grafickog sadrzaja u hipertekstualne dokumente je
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.
30.
Nazivi sistematskih (predefinisanih) promenljivih u pHP jeziku pocinju znakom:
Correct Answer
C. _
Explanation
The correct answer is "_". In PHP, the system-defined variables are prefixed with an underscore (_) symbol.
31.
U slucaju da je unutar tabele u HTML dokumentu potrebno prosiriti prostiranje celije na vise mesta vertikalno, za to se koristi atribut:
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.
32.
Hiper veze omogucavaju da se nekom element u telu HTML dokumenta(deo teksta, slika):
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.
33.
21.Kod poredjenja dve promenljive u pHP jeziku, ukoliko zelimo da poredimo I njihov tip koristicemo:
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.
34.
Skracenica HTML oznacava
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.
35.
21.Poseban tip promenljivih u pHP jeziku u kojima se cuvaju uspostavljene veze ka bazi podataka, fajlovima I slicno, nazivaju se:
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.
36.
Za dodeljivanje tekstualne oznake kontrolama u formularima HTML dokumenata koristi se oznaka:
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.
37.
Jedan od najpoznatijih sablonizatora za pHP programski jezik je:
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.
38.
U slozene tipove promenljivih u pHP programskom jeziku spadaju:
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.
39.
Relativno adresovanje kod hiper veza ograniceno je samo na dokumente koji se:
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.
40.
21.Sledeci pHP kod:$x=3; Function PovecanjeBroja(){Global $x;$x=4}povecanjeBroja();echo $x;kao rezutat izvrsavanja dace:
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.
41.
Za koriscenje sesijske memorije u pHP jeziku potrebno je:
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.
42.
Dva osnovna (korena) elementa koje HTML document mora da sadrzi su:
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.
43.
Za dodavanej stavki u numerisane I nenumerisane liste u HTML dokumentima koriste se oznake:
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.
44.
Pristup sesijskoj memoriji u php jeziku vrsi se pomocu:
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.
45.
Pri interpretiranju HTML koda tabulatori se:
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.
46.
Najjednostavnija sintaksa za definisanje nizova u pHP jeziku je:
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.
47.
21.Sledeci pHP kod:$ime = “Petar”;$pp = “ime”;Echo $$pp; ce ispisati
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".
48.
21.Osnovna jedinica za organizaciju teksta u HTML dokumentu je:
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.
49.
Nakon izvrsavanja sledeceg pHP koda:$bp=mysqli_connect(“localhost”, “korisnik”,”baza”);Ocekivani tip promenljive $bp je:
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().
50.
Sledeci pHP kod:$x=1;If($==true)Echo “jedan”Echo “dva”Kao rezultat dace:
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".