0 votes
1 answer
31
If the jobs are non-premptive, then the avg waiting and avg response time will be the same? w.r.t any scheduling algo?
0 votes
0 answers
32
Consider the processes P1, P2, P3 arrived in the sequence P2, P3, P1 and the burst time of theprocesses are 3, 3, 24 respectively. What is the average TAT?(a) 30 (b) 20(c...
0 votes
3 answers
33
Degree of multiprogramming is controlled by Long-term scheduler?Why?It just moves jobs from Secondary Memory to MM?
2 votes
1 answer
34
Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?A) (char*) (*ptr[N])( )(B) (char*(*)) (*ptr[N])( )(C) (char*(...
1 votes
0 answers
36
#include <stdio.h>char *someFun1() { char temp[] = "string"; return temp; }char *someFun2() { char temp[] = {'s','t','r','i','g'};return temp;} int main() { p...
2 votes
2 answers
37
#include <stdio.h struct p { unsigned int x : 1; unsigned int y : 1; };int main() { struct p p; p.x = 1; p.y = 2; printf("%d\n", p.y); } Why output is 0?
0 votes
1 answer
38
struct marks{int p:3; int c:3; int m:2; };void main(){struct marks s={2,-6,5};printf("%d %d %d",s.p,s.c,s.m); } Please explain why result is 221
0 votes
0 answers
40
Set of all languages that are not Recursively Enumerable is uncountable.This is true. WHY?
2 votes
1 answer
41
Let P ( S ) denotes the power set of the set S, the dual of the lattice ( P(S), ⊆ ) is a) Doesn't’t exist b) ( P(S), ⊆ ) c) ( P(S), ⊇ ) d) ( S,⊇)
1 votes
1 answer
42
1 votes
2 answers
43