These questions include questions from ACE Engineering Academy Volume 1 : Booklet Volume 2: Workbook Bites and Bytes : Expected Question Booklet

Recent questions tagged ace-booklet

0 votes
1 answer
1
its output is 6??how?? // Online C++ compiler to run C++ program online#include <iostream>using namespace std;int main() { // Write int a=-3; a=-a-a+!a; cout<...
0 votes
0 answers
2
0 votes
2 answers
4
Class B network on the internet has a subnet mask of 255.255.119.0 what is maximum possible hosts per subnet. Assuming Classfull Addressing Scheme
0 votes
1 answer
5
Number of ways to assign 5 different people in 3 different rooms, so that each room contains at least one person?
1 votes
1 answer
6
What is the smallest and largest number of entries for 2_3 BTree (B2_3 Tree) of height 8 (i.e 8 levels) ? 255 & 6560127 & 21866561 & 255255 & 2186
0 votes
1 answer
12
for(i=n, j=0; i>0; i/=2, j+=i)Let val(j) denote the value stored in the variable j after termination of the for loop. Whjch is correct?a. val(j)=theta(logn)b. Val(j)= the...
1 votes
1 answer
13
0 votes
1 answer
14
0 votes
1 answer
16
0 votes
2 answers
18
I think the median can be found in O(n), because in O(n) we can merge the arrays into a single sorted array and in O(1) we can find the middle element of the array. Am I...
1 votes
3 answers
19
Which are invalid process state transition?a. Timer Start: ready->runningb. Timer Out: running->blockedc. I/O: running->readyd. Resume : suspend->running
1 votes
0 answers
20
1 votes
1 answer
22
3 votes
3 answers
25
The regular expression denoting all the strings such that every even position occupied by ‘a’[a+ba]* (a+b+c)b(a)a* + a(a)*ba(b)* aa(b)* aa(b)* aa(a)*Both a and c
1 votes
2 answers
29
Consider the following c fragment : void DAA(n) { int i,j,k,x=0; for (i=1 ; i <=n ; i++) for (j=1 ; j <= i * i ; j++) { if ( j mod i == 0 ) for ( k = 1 ; k <= j ; k++) x=...
3 votes
2 answers
30
If the packet size is 1KB and propagation time is 15ms, the channel capacity is $10^9$ b/s then find the transmission time and utilization of sender in stop and wait prot...