Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
srestha
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by srestha
2
votes
1
answer
121
Allen Career Institute:Computer Organization -Memory
The size of instruction in a single accumulator CPU organization is $16$ bits. In order to evaluate the expressions given below. How much memory space (bytes) is required for storing the program? evaluate the expression from left to right). Expression : $y=\frac{A-B+C}{E+F}$
The size of instruction in a single accumulator CPU organization is $16$ bits. In order to evaluate the expressions given below. How much memory space (bytes) is required...
701
views
asked
Mar 22, 2019
CO and Architecture
computer-organisation
+
–
0
votes
0
answers
122
Allen Career Institute: Discrete Mathematics
A certain software was being tested by using error seeding strategy in which $22$ errors were seeded. $14$ of seeded errors were detected apart from $140$ unseeded errors when the code was tested using the complete test suit. Calculate the estimated no. of undetected errors in the code after complete testing _____
A certain software was being tested by using error seeding strategy in which $22$ errors were seeded. $14$ of seeded errors were detected apart from $140$ unseeded errors...
201
views
asked
Mar 22, 2019
Combinatory
discrete-mathematics
combinatory
+
–
0
votes
0
answers
123
Allen Career Institute:Aptitude
The vast majority of south Korean youngster's graduate from high school and of these, 82% go on to university. This is the highest rate in the OECD and for a country which had an adult literacy rate of just 22% in 1945, it ... in both the years compared were almost same (4) The proportion of unemployed in recent times has increased exponentially compared to 1945
The vast majority of south Korean youngster's graduate from high school and of these, 82% go on to university. This is the highest rate in the OECD and for a country whic...
374
views
asked
Mar 22, 2019
Verbal Aptitude
general-aptitude
+
–
0
votes
1
answer
124
Allen Career Institute: Aptitude
If $log_{4}\left ( \frac{2}{x} \right )+log_{16}\left ( 0.5 \right )=2$ then $(A)$ $4log_{4}x=-7$ $\left ( B \right )2log_{4}x=-7$ $\left ( C \right )2log_{16}x=-7$ $\left ( D \right )log_{16}x=-7$
If $log_{4}\left ( \frac{2}{x} \right )+log_{16}\left ( 0.5 \right )=2$ then$(A)$ $4log_{4}x=-7$$\left ( B \right )2log_{4}x=-7$$\left ( C \right )2log_{16}x=-7$$\left ( ...
295
views
asked
Mar 22, 2019
Quantitative Aptitude
general-aptitude
+
–
0
votes
1
answer
125
Allen Career Institute: Algorithm
Which of the following is /are TRUE ? S1 : $n^{a} . n^{b} = 0$((n^{a})^{b})$ for any a, b > 1 S2 : $(n^{a})^{b} = 0$((n^{a})^{b})$ for any a, b > 1 (1) Both S1 and S2 (2) S1 Only (3) S2 Only (4) Neither S1 nor S2
Which of the following is /are TRUE ?S1 : $n^{a} . n^{b} = 0$$((n^{a})^{b})$ for any a, b 1S2 : $(n^{a})^{b} = 0$$((n^{a})^{b})$ for any a, b 1(1) Both S1 and S2(2) S1 ...
536
views
asked
Mar 21, 2019
Algorithms
algorithms
asymptotic-notation
+
–
0
votes
0
answers
126
Allen Career Institute:Compiler Design
Consider the following syntax directed definition A → BC C.i = f1(A . i) ….. I B.i = f2(A . s) ….. II A.s = f3(B . s) ……. III I for inherited, s for synthesized attribute which of the following is TRUE? (1) (I) is violating L attributed definition (2) (II) is violating L attributed definition (3) (III) is violating L attributed definition (4) None of these
Consider the following syntax directed definition A → BCC.i = f1(A . i) ….. I B.i = f2(A . s) ….. II A.s = f3(B . s) ……. III I for inherited, s for synthesized...
399
views
asked
Mar 21, 2019
Compiler Design
compiler-design
+
–
1
votes
2
answers
127
Self Doubt
How addition of $+3$ and $-3$ in sign magnitude form is $-5?$
How addition of $+3$ and $-3$ in sign magnitude form is $-5?$
586
views
asked
Mar 18, 2019
Digital Logic
number-system
digital-logic
+
–
0
votes
1
answer
128
Self Doubt
For creating a N integer array is there any mistake in this line? int numArray[N]=(int *) malloc(N);
For creating a N integer arrayis there any mistake in this line?int numArray[N]=(int *) malloc(N);
381
views
asked
Mar 12, 2019
Programming in C
programming-in-c
+
–
2
votes
1
answer
129
Ace Test Series: Operating System - CPU Scheduling
Consider a system having $10$ IO bound jobs and $1$ CPU bound job.. If IO bound job issue an IO request once for every ms of CPU computation and that each IO request takes $10$ ms. If context switch overhead is $0.1$ ms.Using round -robin scheduling with a time quantum of $10$ ms. , the CPU efficiency is __________________
Consider a system having $10$ IO bound jobs and $1$ CPU bound job.. If IO bound job issue an IO request once for every ms of CPU computation and that each IO request take...
772
views
asked
Mar 11, 2019
Operating System
ace-test-series
operating-system
process-scheduling
round-robin-scheduling
+
–
2
votes
4
answers
130
ACE Test Series: Generating Function
The generating function of the sequence $\left \{ a_{0},a_{1},a_{2}..........a_{n}………...\infty \right \}$ where $a_{n}=\left ( n+2 \right )\left ( n+1 \right ).3^{n}$ is $a)3\left ( 1+3x \right )^{-2}$ $b)3\left ( 1-3x \right )^{-2}$ $c)2\left ( 1+3x \right )^{-3}$ $d)2\left ( 1-3x \right )^{-3}$
The generating function of the sequence $\left \{ a_{0},a_{1},a_{2}..........a_{n}………...\infty \right \}$where $a_{n}=\left ( n+2 \right )\left ( n+1 \right ).3^{n}...
1.5k
views
asked
Mar 8, 2019
Combinatory
generating-functions
discrete-mathematics
+
–
0
votes
1
answer
131
Ace Test Series: Set Theory & Algebra - Relations
Let $A=\left \{ 1,2,3 \right \}$. Number of relation on $A$ which are neither reflexive, nor irreflexive but symmetric is ___________ Ans given 48 but I got 8 Please verify
Let $A=\left \{ 1,2,3 \right \}$. Number of relation on $A$ which are neither reflexive, nor irreflexive but symmetric is ___________Ans given 48but I got 8Please verify
852
views
asked
Mar 7, 2019
Set Theory & Algebra
ace-test-series
engineering-mathematics
discrete-mathematics
set-theory&algebra
relations
+
–
0
votes
1
answer
132
Ace Test Series: Operating System - Disks
Consider a disk with an average seek time of $4$ ms. Motor speed 15000RPM 512B sector 500 sector per track A file occupies all of the sectors on $5$ tracks Each track reading requires average seek time and average rotational delay What will be transfer time of $1$ track?
Consider a disk with an average seek time of $4$ ms.Motor speed 15000RPM512B sector500 sector per trackA file occupies all of the sectors on $5$ tracksEach track reading ...
523
views
asked
Mar 7, 2019
Operating System
ace-test-series
operating-system
disk
+
–
1
votes
0
answers
133
ACE test Series: Programming and DS-Programming
void find(int x){ static int i=10,y=0; y=y+i; for(i;i>0;i=i-10){ if(x!=0) find(x-1); else{ printf("%d",y); } } } What will be output printed for find(4)?
void find(int x){ static int i=10,y=0; y=y+i; for(i;i>0;i=i-10){ if(x!=0) find(x-1); else{ printf("%d",y); } } }What will be output printed for find(4)?
750
views
asked
Mar 6, 2019
Programming in C
programming-in-c
ace-test-series
programming
+
–
0
votes
0
answers
134
ACE Test Series:Programming in C
#include <stdio.h> int main(void) { char s1[15]="SREE"; char s2[10]="ALL THE BEST"; strcpy(s2,s1); printf("\n%s",s2); return 0; } 1)How s2 will contain a string of size 12, while it only contain ... copying , I mean SREETHE BEST Will it work like pointer that s2 pointing to same as s1? Anything link good to read about strcpy
#include <stdio.h int main(void) { char s1[15]="SREE"; char s2[10]="ALL THE BEST"; strcpy(s2,s1); printf("\n%s",s2); return 0; }1)How s2 will contain a string of size 12,...
477
views
asked
Mar 5, 2019
Programming in C
programming-in-c
+
–
2
votes
0
answers
135
ACE Test Series: Programming in C
What will be output of the program? int d=0; int f(int a,int b){ int c; d++; if(b==3) return a*a*a; else{ c=f(a,b/3); return(c*c*c); } } int main(){ printf("%d",f(4,81)); return 0; }
What will be output of the program?int d=0; int f(int a,int b){ int c; d++; if(b==3) return a*a*a; else{ c=f(a,b/3); return(c*c*c); } } int main(){ printf("%d",f(4,81)); ...
1.1k
views
asked
Mar 5, 2019
Programming in C
programming-in-c
+
–
2
votes
1
answer
136
Banker Algo(ACE)
Banker algorithm is used by OS to avoid the deadlock. Following table shows the current allocation and maximum demand by process $P_{1}$,$P_{2}$,$P_{3}$ and $P_{4}$ for the instances $A,B,C$ Process Max Demand (A,B,C) Current Allocation(A,B,C) $P_{1}$ ... of $A,B,C$ respectively Req2: $P_{4}$ requests $1,0,1$ of $A,B,C$ respectively Which of these two requests will be granted?
Banker algorithm is used by OS to avoid the deadlock. Following table shows the current allocation and maximum demand by process $P_{1}$,$P_{2}$,$P_{3}$ and $P_{4}$ for t...
1.7k
views
asked
Mar 2, 2019
Operating System
operating-system
bankers-algorithm
+
–
1
votes
0
answers
137
Locality of Rference(OS+DS) (ACE)
An OS uses virtual memory with paging technique for memory allocation. Which of the following searching technique on given data structure use locality of reference? Linear search on linked list Binary search on array Linear search on array Binary search on linked list
An OS uses virtual memory with paging technique for memory allocation. Which of the following searching technique on given data structure use locality of reference?Linear...
1.2k
views
asked
Mar 2, 2019
Programming in C
array
linked-list
+
–
2
votes
3
answers
138
Programming Stack (ACE)
Runtime stack doesnot contain (A) Local variables (B) Static Variables (C) Parameter Passed (D) Return Address
Runtime stack doesnot contain(A) Local variables(B) Static Variables(C) Parameter Passed(D) Return Address
1.6k
views
asked
Mar 1, 2019
Programming in C
stack
+
–
0
votes
1
answer
139
Programming doubt(ACE)
void print(int i){ static int x=4; if(i!=0){ print(--x); } printf("%d",x); } What will be output printed for print(10)? Will it print value as call by value or call by reference?
void print(int i){ static int x=4; if(i!=0){ print( x); } printf("%d",x); }What will be output printed for print(10)?Will it print value as call by value or call by refer...
521
views
asked
Mar 1, 2019
Programming in C
programming-in-c
output
programming
+
–
1
votes
0
answers
140
Reduction (ACE)
If $L_{1}\preceq L_{2}$ and $L_{2}$ turing recognizable Then $L_{1}$ cannot be A)not REL B)Context Sensitive C)Context Free D)Recursive
If $L_{1}\preceq L_{2}$ and $L_{2}$ turing recognizableThen $L_{1}$ cannot beA)not RELB)Context SensitiveC)Context FreeD)Recursi...
486
views
asked
Feb 28, 2019
Theory of Computation
theory-of-computation
reduction
decidability
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
12
...
35
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register