Questions #1



Download 85,32 Kb.
bet18/24
Sana06.07.2022
Hajmi85,32 Kb.
#752107
1   ...   14   15   16   17   18   19   20   21   ...   24
Bog'liq
interview en

DBMS


  • What does the JOIN operator do, what types are there?

  • What does the HAVING operator do, examples?

  • When would you prefer a non-relational database?

  • What is SQL injection, what are the measures against it?

  • What is a functional index?

  • What is a transaction, its properties?

  • What is transaction scope?

Javascript


  • Difference == from ===?

  • What are closures, examples?

  • How is OOP implemented, features?

  • JSONP - what is the idea, how is it implemented

  • An error has occurred on the client, how to notify the server?

  • AT how difference between function foo() {...} and var foo = function() {...}

  • Comment out the expression:

(function($) {
$(function() {
alert(123);
});
})(jQuery);


  • Write a simple vector class (x, y) with one method.

Deploy


  • Describe the deployment scheme of a typical application. Main components.

Algorithms, structures


What is recursion? What are the pros, cons?
Recursion is the definition of a function in terms of itself. The logic of a recursive function usually consists of two branches. The long branch calls the same function with different parameters to accumulate the result. The short branch defines the exit criterion for the recursion.
Recursion simplifies the code and makes it declarative. Recursion encourages functional thinking and avoiding side effects.
Unoptimized recursion results in resource overhead. With a large number of iterations, you can exceed the limit on the number of recursive calls (recursion depth limit reached).
What is tail recursion?
This is a special kind of recursion, when a function ends up calling itself without additional statements. When this condition is met, the compiler unrolls the recursion into a loop with one stack frame, simply changing local variables from iteration to iteration.
For example, the classic definition of the recursive factorial return N * fact(N - 1) does not support tail recursion because the current value of N would have to be stored for each stack frame.
To make the recursion tail, accumulator parameters are added. Thanks to them, the function knows about its current state. Let the default parameter acc be 1. Then the tail-recursive notation would look like this:

Download 85,32 Kb.

Do'stlaringiz bilan baham:
1   ...   14   15   16   17   18   19   20   21   ...   24




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish