Волинський національний університет імені Лесі Українки
Центр інноваційних технологій та компютерного тестування
Тест ::: ФІТМ_122_іноз_Маг_2021
Розробники:
Дата генерації: 04.07.2023
Тема :: Інформатика іноземцям
-
HTML is
- a programming language
- a hypertext markup language
- a technology that defines a web page appearance
- Internet service
-
CSS is
- a programming language
- a hypertext markup language
- a technology that defines a web page appearance
- Internet service
-
What is cascading style sheets files extension?
-
What are the main technologies using in front-end development?
- HTML/CSS
- HTML/CSS/JavaScript
- HTML/CSS/PHP
- HTML/CSS/JavaScript/PHP
-
Which of the following was the fist web browser?
- Netscape
- Mosaic
- Internet Explorer
- Opera
-
Which of the following elements is the parent for the <title> tag:
- <html>
- <head>
- <body>
- <meta>
-
Which of the following represents tags nested correctly:
- <h1><b>Текст</h1></b>
- <h1><b>Текст</b></h1>
- <p>Текст</h1>
- </h1>Текст<h1>
-
Which of the following tags defines the level heading:
- <strong>
- <h2>
- <p>
- <table>
-
Which of the following are the Internet protocols only:
- HTTP POP SMTP CSS
- POP CSS HTML FTP
- HTTP POP SMTP FTP
- POP SMTP CSS HTML
-
Which of the following tags are using for creating lists?
-
Which of the following parameters does the <td> tag use?
- valign
- colspan
- rules
- rowspan
-
Which of the following tags define block elements?
-
Which of the following tags define container elements?
-
An algorithm is …
- a description of the problem solving
- a set of the instructions
- a procedure for solving a problem, based on conducting a sequence of specified actions, that gets input data and returns output data
- a scheme of calculations
-
Which of the following is NOT the properties of algorithm?
- discreteness
- finiteness
- formality
- generality
-
An algorithm develope to solve...
- a general problem
- an individual problem
- a model of the problem
- some problem
-
A data structure is
- a set of elements and their connections
- a set of elements of some type
- a set of elements connected with each other
- a set of elements of defined type
-
A linear list where only the last element is accessible is...
- queue
- stack
- dequeue
- array
-
A data structure that inserts and removes elements according to the first-in first-out (FIFO) principle is
-
Which of the following is the sorting algorithm?
- A quick sorting
- A sorting in increasing alphabet order
- A sorting in increasing order
- A sorting in decreasing order
-
An array is...
- a group of elements of the same data type, combined by common name
- a set of elements
- a group of elements, each of them has the unique name
- a named area in the memory, where some elements are placed
-
Numbers and characters are...
- dynamic data structures
- non-primitive data structures
- linear data structures
- primitive data structures
-
An algorithm which calls itself with "smaller (or simpler)" input values is
- cyclic
- recursive
- commutative
- general
-
What is the rule of removing elements from a dequeue (double-ended queue)?
- the front element (head) only
- the back element (tail) only
- any element
- the front element (head) and the back element (tail)
-
How should be ordered elements in the array, where the binary search algorithm applied?
- in an increasing order
- in a decreasing order
- with no order
- it’s not need to order elements in an array to apply binary search algorithm
-
How many pointers are there in the circular linked list?
- 2
- 1
- equal to the number of elements in the list
- 0
-
if (< >)
{ }
else { }
The description above is...
- loop statement
- arithmetic statement
- branching statement
- case statement
-
A variable is
- a storage location, containing known and unknown numbers
- a storage location, identified by a memory address
- a storage location, containing data arrays
- a storage location, identified by a memory address, which contains some known or unknown quantity of information
-
Which of the following represents the correct syntax of for loop in C++?
- for {<statements>} (initialization; condition; increment/decrement);
- for (initialization; condition; increment/decrement) {<statements>};
- for (condition; initialization; increment/decrement) {<statements>};
- for (increment/decrement; initialization; condition;) {<statements>};
-
A void function...
- doesn’t return a value after the function executes
- returns an empty value after the function executes
- returns a value defined by a developer
- is the main function in a program
-
Which of the following statements does not use C++ keywords?
- TStringList * S = new TStringList ;
- sdf = 2 ; int r = 24
- x = 3 ; x = x + 4 ;
- float function ( );
-
What will be the value of the valiable k after after implementation of the statement k = ++k ; if the initial value of k was 6?
-
What is the result of the implementation of the program code, represented below?
int x = 2;
switch ( x )
{ case 1 : cout << " One " ;
case 0 : cout << " Zero " ;
case 2 : cout << " Hello world ";
}
- Hello world
- Zero
- Zero Hello world
- One
-
Which of the following functions all the programs in C++ contain necessarily?
- start ()
- system ()
- main ()
- program ()
-
Which of the folowing statements represents the correct declaration of the constant in C++?
- const int a = 10;
- const int a:= 10;
- int a = 10;
- const a = 10;
-
What are the properties of the class in object oriented programming?
- variables of a class
- methods of a class
- libraries of a class
- There is no correct answer here.
-
class Class1
{
…
}
…
class Class2 : Class1
{
…
}
This construction represents...
- Class2 inherits Class1
- Class1 inherits Class2
- Class1 and Class2 methods encapsulation
- Class1 is friend of Class2
-
An abstract class is …
- any class with a set of instances
- class without instances
- class without ancestor
- class without parent
-
Consired the statement:
int arr[10][12];
This statement declares
- an array
- an array of 22 elements
- a 2 dimensional array 10x12 of integer numbers
- a 2 dimensional array of integer numbers
-
Which of the following is not the data type in C++?
-
Which of the following represents the correct syntax of "if statement" in C++?
- if (condition) true_statement1: true_statement2;... true_statement3;
- if (condition) true_statement; else false_statement;
- if (condition) else_statement; else true_statement;
- if (true_statement) condition; else false_statement;
-
Which of the following is the definition of constructor in object-oriented programming?
- It is a special type of subroutine called to create an object.
- It is a special type of subroutine, necessarily without parameters, called to create an object.
- It is a special type of subroutine called to create a class.
- It is a method called to change the values of member variables of a class.
-
Which of the following is the definition of destructor in object-oriented programming?
- It is a method which is invoked mechanically just before the memory of the object is released.
- It is a method which is called to destroy a class.
- It is a method which is called to clear the values of all member variables of a class.
- It is a method which is called to delete of all member variables of a class.
-
Consider the queue (FIFO) {-4, 5, 1, -17, 12}. The operation pop() was called.
What is the content of the queue now?
- 5, 1, -17, 12
- -4, 5, 1, -17
- -4, 5, 1, -17, 12
- empty
-
Consider the stack (LIFO) {-4, 5, 1, -17, 12}. The operation push(2) was called.
What is the content of the stack now?
- -4, 5, 1, -17, 12, 2
- 2, -4, 5, 1, -17, 12
- -4, 1, -17, 12
- -4, 2, 1, -17, 12
-
Which of the following is NOT the access specifier in classes?
- hidden
- public
- private
- protected
-
Which of the following are the correct class definitions? (C++ syntax)
- object A {int x;}
- class A{};
- public class A{};
- class A{public: int x;}
-
What is class in object-oriented programming?
- It is a user-defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class.
- It is a user-defined data type, which holds its own data members only, which can be accessed and used by creating an instance of that class.
- It is a user-defined data type, which holds its own data functions only, which can be accessed and used by creating an instance of that class.
- It is a build-in data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class.
-
Which of the following correctly calls the method shiff() on an object of the SportDog class called dalmatin? (C++ syntax)
- dalmatin.sniff();
- dalmatin(sniff);
- sniff().dalmatin;
- dalmatin.sniff;
-
The value that a method outputs is called...
- a return value
- an init value
- a null value
- a temporary value