Answer: I think it is a trick question, a variable would be not be used as code. It must be coded before it will do anything.
Say "nothing" as ur answer.
Answer and Explanation:
Yes, We have observed in the discussion of ULTs versus KLTs, that it was pointed out that a disadvantage of ULTs is that when a ULT executes a system call, not only is that thread blocked, but also all of the threads within the process are blocked.
Because
The user process functions separately from Kernel processes.
It is a kind of thread structure process, So it is not visible to the OS/kernel, which schedules on the basis of processes.
Here According to me the book says that:
" The kernel continues to schedule the process as a unit and assigns a single execution state like the thread will be in (Ready, Running, Blocked, etc.) to that process "
If unfortunately one thread is blocked, then the whole process is going to get blocked and parallely all threads in that process are going to get blocked.
The answer is false because they are at an all time high due to more hackers cracking the old codes
Answer:
1) SQL Server
SELECT Top 5 concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC ;
2) MySQL
SELECT concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC limit 5;
Explanation:
There two queries first having syntax works fine in SQL server and later with MySQL. All bold faced words are sql keywords. I assumed the tablename is actor as table name is not given if table name is any other replace actor with that name.