Log In

Answers by Ram Swaroop

1 vote
Which type of addressing mode, less number of memory references are required? Immediate Implied Register Indexed
answered Mar 11, 2020 in CO and Architecture 2.4k views
0 votes
A stack organized computer is characterised by instructions with indirect addressing direct addressing zero addressing index addressing
answered Mar 11, 2020 in CO and Architecture 1.1k views
0 votes
A multiplexer is placed between a group of $32$ registers and an accumulator to regulate data movement such that at any given point in time the content of only one register will move to the accumulator. The number of select lines needed for the multiplexer is ______.
answered Feb 12, 2020 in Digital Logic 2.2k views
0 votes
Let $G$ be a group of $35$ elements. Then the largest possible size of a subgroup of $G$ other than $G$ itself is _______.
answered Feb 12, 2020 in Linear Algebra 2.7k views
0 votes
Which one of the following is used to represent the supporting many-one relationships of a weak entity set in an entity-relationship diagram? Diamonds with double/bold border Rectangles with double/bold border Ovals with double/bold border Ovals that contain underlined identifiers
answered Feb 12, 2020 in Databases 2.9k views
1 vote
Goods and Services Tax (GST) is an indirect tax introduced in India in $2017$ that is imposed on the supply of goods and services, and it subsumes all indirect taxes except few. It is a destination-based tax imposed on goods and services used, and it is not ... includes all indirect taxes. GST does not have a component specific to UT. GST is imposed at the point of usage of goods and services.
answered Feb 12, 2020 in Verbal Aptitude 1.2k views
2 votes
The dawn of the $21$st century witnessed the melting glaciers oscillating between giving too much and too little to billions of people who depend on them for fresh water. The UN climate report estimates that without deep cuts to man-made emissions, at ... water to billions of people. Billions of people are responsible foe man-made emissions. Billions of people are affected by melting glaciers.
answered Feb 12, 2020 in Verbal Aptitude 1.6k views
2 votes
His knowledge of the subject was excellent but his classroom performance was_______. extremely poor good desirable praiseworthy
answered Feb 12, 2020 in Verbal Aptitude 2.4k views
2 votes
a x b x c + d - a + e x f - g + h order of precedence : x>+>- ; with x is left associative and +, - as right. Min number of variables required in TAC? Should'nt the expression be expressed as : ((a x b) x c) + d - a + (e x f) - g + h (((a x b) x c) + (d - (a + (e x f)) - (g + h)))
answered Jan 24, 2020 in Compiler Design 409 views
0 votes
we are given two strings: String S of length n and string T of length m for the LCS problem, we have produced the following exponential time recursive program. LCM (S, n, T, m) { if (n == 0||m == 0) return 0 if (S[n] == T[m]) result t = 1 + LCS (S, n - 1, T ... ), LCS (S, n, T, m - 1)); return result; } then the number of times that LCS (S, 1, T, 1) is recursively called equals ________ plz solve?
answered Jan 18, 2020 in Algorithms 478 views
2 votes
Consider the circuit in the diagram. The $\oplus$ operator represents Ex-OR. The D flip-flops are initialized to zeroes (cleared). The following data: $100110000$ is supplied to the “data” terminal in nine clock cycles. After that the values of $q_{2}q_{1}q_{0}$ are: $000$ $001$ $010$ $101$
answered Jan 8, 2020 in Digital Logic 6.5k views
3 votes
The output $F$ of the below multiplexer circuit can be represented by $AB+B\bar{C}+\bar{C}A+\bar{B}\bar{C}$ $A\oplus B\oplus C$ $A \oplus B$ $\bar{A} \bar{B} C+ \bar{A} B \bar{C}+A \bar{B} \bar{C}$
answered Jan 6, 2020 in Digital Logic 1.7k views
1 vote
User level threads are threads that are visible to the programmer and are unknown to the kernel. The operating system kernel supports and manages kernel level threads. Three different types of models relate user and kernel level threads. Which of the following statements is/are true ? (a) (i) The Many - to ... (a) is false; (b) is true (3) Both (a) and (b) are true (4) Both (a) and (b) are false
answered Jan 4, 2020 in Operating System 588 views
9 votes
The least number of temporary variables required to create a three-address code in static single assignment form for the expression $q + r / 3 + s - t * 5 + u * v/w$ is__________________.
answered Dec 1, 2019 in Compiler Design 16.6k views
0 votes
can anyone has the soft copy of kenneth h rosen solutions?
answered Nov 11, 2019 in Mathematical Logic 921 views
0 votes
how many positive integers between 50 and 100, (a) divisible by 7 (b) divisible by 11 (c) divisible by 7 and 11?
answered Nov 10, 2019 in Combinatory 369 views
0 votes
2 votes
suppose that in 1000 memory reference there are 40 misses in the first level cache and 20 misses in the second level cache. Assume miss penalty from the L2 cache to memory is 100 cycles the hit time of the L2 cache is 10 clock cycles.the hit time of the L1 cache is ... = (memory reference per instruction) x (miss rate) x (miss penalty) right?? so which miss rate and miss penalty should i put here?
answered Aug 25, 2019 in CO and Architecture 4.9k views
0 votes
suppose that in 1000 memory reference there are 40 misses in the first level cache and 20 misses in the second level cache. Assume miss penalty from the L2 cache to memory is 100 cycles the hit time of the L2 cache is 10 clock cycles.the hit time of the L1 cache is 1 clock cycle. what is average memory access time?
answered Aug 25, 2019 in CO and Architecture 278 views
0 votes
Consider the following expression and identify minimum number of registers required to implement the following expression : (a-b)+(e+(c-d))/f Can anyone please give the theory or notes of prerequisites -, how to solve these questions. The solution of the above problem is :- ... performed by adding R1 to the R2 and result is stored back into R1 since R1=R1+R2. Number of registers used is only 3.
answered Aug 18, 2019 in CO and Architecture 329 views
0 votes
Consider the following statements: S1 : Static allocation can not support recursive function. S2 : Stack allocation can support pointers but can not deallocate storage at run-time. S3 : Heap allocation can support pointers and it can allocate or deallocate storage at run-time. Which of the above statements are true? a S1 and S2 b S2 and S3 c S3 and S1 d S1, S2 and S3
answered Aug 18, 2019 in Compiler Design 746 views
0 votes
Match the following with respect to activation record fields: A 1 → A, D; 2 → B, C B 1 → A, C; 2 → B, D C 1 → B, C; 2 → A, D D 1 → B, D; 2 → A, C Doubt:- Control link points to caller activation record.Can some one confirm?
answered Aug 18, 2019 in Compiler Design 739 views
1 vote
A lexical analyzer uses the following patterns to recognize three tokens $T_1$, $T_2$, and $T_3$ over the alphabet $\{a, b, c\}$. $T_1$: $a?(b \mid c)^*a$ $T_2$: $b?(a \mid c)^*b$ $T_3$: $c?(b \mid a)^*c$ Note that x?' ... prefix. If the string $bbaacabc$ is processed by the analyzer, which one of the following is the sequence of tokens it outputs? $T_1T_2T_3$ $T_1T_1T_3$ $T_2T_1T_3$ $T_3T_3$
answered Aug 15, 2019 in Compiler Design 9.7k views
0 votes
Select the correct one from the below given options. 1. The parser’s output is abstract syntax tree, which represents the grammatical structure of the parse input. 2. Parse tree is condensed form of Abstract Syntax tree. 3. In abstract syntax tree the operators can appear as leaves while keywords cannot appear as leaves. 4.All of the above are true
answered Jul 29, 2019 in Compiler Design 203 views
7 votes
The bar graph in panel (a) shows the proportion of male and female illiterates in $2001$ and $2011.$ The proportions of males and females in $2001$ and $2011$ are given in Panel (b) and (c), respectively. The total population did not change during this period. The percentage increase in the total number of literates from $2001$ to $2011$ is ______. $30.43$ $33.43$ $34.43$ $35.43$
answered Jul 24, 2019 in Quantitative Aptitude 1.8k views