# Recent activity by Dulqar

1
why is it showing error?? #include <stdio.h> int main() { extern int i; i=20; printf("%d",i); }
2
I wanted to convert my home modem to coffee shop and give internet to my customers . But due to security reasons users should register their mobile before they get access to inernet. How can I build this project ? Where should I start with ? Currently i have got D-Link modem
3
How to prepare SOP (Statement Of Purpose ) ? What are the important points to be taken in mind while preparing SOP
4
If anyone has got previous year question papers or link pls do share
5
I) In a 4 stage pipeline processor, if each stage takes 4 cycles then what is CPI in case of successfull pipeline??? II) In a 4 stage pipeline processor, if each stage takes 2,3,4,5 cycles respectively then what is CPI in case of ... there are branch imstructions and branch address is available in 3rd stage then what should be branch pelanty??(In both the implementations mentioned above)
6
The following sequence of instruction is executed in a basic 5 stage pipelined processor (S1, S2, S3, S4, S5). Assume that data dependency present in the program is resolved by operand forwarding techniques. Load instruction output present in 4th stage ALU instruction output is ... What is the number of instructions must be inserted to achieve CPI = 1 by using operand forwarding.
7
Is the following schedule view serializable? T1 T2 T3 R(A) R(A) W(A) W(A) W(A)
8
in a set of odd numbers less than 500, What is the total number of numbers divisible by 15?
9
In a set of 500 first odd natural numbers. The total number divisible by 3 or 5 are
10
My ques. is not the no. of topological sort as i have computed it myself. My problem is can someone please telll me a efficient approach as tree method is taking a lot of time here, like by use of combinatorics, can we find it easily, i.e in less time. and if possible, pls provide general approach apart from tree method.
11
WHat is the union of the following wo languages L=0*1+0+1* ∪ 10*1 L=001 U 0*1*
12
A stack A has 4 entries as following sequence a,b,c,d and stack B is empty. An entry popped out of stack A can be printed or pushed to stack B. An entry popped out of stack B can only be printed. Then the number of possible permutations that the entries can be printed will be ? Stack A Stack B = empty a(TOP) b c d
13
Consider languages L1 and L2 over alphabet Σ = {a, b}. L1 is known to be a context-free language. L2 = {w|w is prefix of w' ∈ L1} Which of the following is true ? A> L2 need not be CFL B> L2 will be regular ​​​​​​​C> L2 will be CFL D> None of the above
14
Q3: What kind of ciphers Electronic Codebook (ECB) mode and Cipher Block Chaining (CBC) mode are (A) Block cipher (B) Stream cipher (C) Field cipher (D) both (A) and (B)
15
Suppose we want to sort an array in ascending order and we implement quicksort so that we always choose the last element in the array as the pivot element. Assume that the input is a permutation of {1, 2, , n}. Which of the following would definitely be a worst case ... some random order. {1, 2, . . . , n} with all odd numbers in ascending order followed by all even numbers in random order.
16
Q6. ___________Data Encryption Standard (DES) was designed to increase the size of the Data Encryption Standard (DES) key. (A) Double (B) Triple (C) Quadruple (D) none of these
17
State True or False . Please explain in 2 or 3 sentences Temporal locality states if a page is accessed, then there is a high chance that the nearby pages will be accessed.
18
In the Contiguous allocation for disk blocks, files cannot grow dynamically because _______ The next block could be occupied by another file The scheme does not allow files to grow (by design itself) (No answer is correct because files can grow) The disk does not have enough space I think both 1 and 2 are correct . What do you say ?
19
State true or false. When a user encounters a page fault, 1) The user application informs the OS, 2) User uses API calls to the hardware Memory Management unit, 3) Memory Management unit brings the page from hard disk to main memory. Is Statement 2 correct ?
20
If there are no attributes in common between two relations R and S then, what should be the result of (R natural join S)? 1) R x S 2) $\phi$ I think option 2 because of following definition from Korth:
21
What is the error in the following code . Please do correct them #include <stdio.h> int main () { char *x[5] = {"raju","ramu","tinu","ben","ali"}; printf("%s\n",(x[2][0]) ); return 0; }
22
In how many different ways 10 identical ball can be distributed among 3 children, if each receives atleast 2 balls and no more than 4 balls?
23
Choose the most appropriate phrase from the options given below to complete the following sentence. The aircraft __________ take off as soon as its flight plan was filed. Is allowed to Will be allowed to Was allowed to Has been allowed to
24
Select the pair that best expresses a relationship similar to that expressed in the pair: Medicine: Health Science: Experiment Wealth: Peace Education: Knowledge Money: Happiness
25
$\underset{\text{I}}{\underline{\text{The professor}}}$ $\underset{\text{II}}{\underline{\text{ordered to}}}$ $\underset{\text{III}}{\underline{\text{the students to go}}}$ $\underset{\text{IV}}{\underline{\text{out of the class.}}}$ Which of the above underlined parts of the sentence is grammatically incorrect? I II III IV
26
Fill in the blank with the correct idiom/phrase. That boy from the town was a ____________ in the sleepy village. dog out of herd sheep from the heap fish out of water bird from the flock
$X$ is an entity set. $E$ and $F$ are multivalued attributes. How many minimum tables which satisfy 1NF ? How many minimum tables which satisfy 2NF ? How many minimum tables which satisfy 3NF ? How many minimum tables which satisfy BCNF ? How many minimum tables which satisfy 4NF ?