Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by Muquim
2
answers
1
Andrew S. Tanenbaum (OS) Edition 4 Exercise 2 Question 8 (Page No. 174)
Consider a multiprogrammed system with degree of $6$ (i.e., six programs in memory at the same time). Assume that each process spends $40\%$ of its time waiting for I/O. What will be the CPU utilization?
Consider a multiprogrammed system with degree of $6$ (i.e., six programs in memory at the same time). Assume that each process spends $40\%$ of its time waiting for I/O. ...
2.8k
views
commented
Aug 24, 2021
Operating System
tanenbaum
operating-system
process-and-threads
descriptive
+
–
1
answer
2
madeeasytestseries
Consider the following segment: int count = 0; void tally( ) { for(int i=1;i<=5;i++) count=count+1; } main() { parbegin tally(); tally(); parend } Note: Assume the count = count + 1; will execute in 3' different instructions. ... can occur while executing the above instructions. After completion of both functions of tally( ), The minimum final values of count is.....?
Consider the following segment:int count = 0;void tally( ){for(int i=1;i<=5;i++)count=count+1;}main(){parbegintally();tally();parend} Note: Assume the count = count + 1�...
1.0k
views
answered
Aug 23, 2021
7
answers
3
Type of error
Find the type of error produced by the following C code. main() { in/*comment t x; floa/*comment*/t gate; } Lexical error syntax error both a) and b) None of these
Find the type of error produced by the following C code.main() { in/*comment t x; floa/*comment*/t gate; }Lexical errorsyntax errorboth a) and b) None of these
5.4k
views
commented
Apr 11, 2021
Compiler Design
lexical-analysis
syntax-analysis
compiler-tokenization
+
–
7
answers
4
GATE CSE 2008 | Question: 54
Which of the following are true? A programming language which does not permit global variables of any kind and has no nesting of procedures/functions, but permits recursion can be implemented with static storage allocation Multi-level access link (or display) arrangement is ... activation records II and V only I, III and IV only I, II and V only II, III and V only
Which of the following are true?A programming language which does not permit global variables of any kind and has no nesting of procedures/functions, but permits recursio...
21.0k
views
commented
Apr 4, 2021
Compiler Design
gatecse-2008
compiler-design
difficult
runtime-environment
+
–
0
answers
5
compiler design
a pictorial representation of the value computed by each statement in the basic block is a:) Tree b:) DAG c:) graph d:) NONE
a pictorial representation of the value computed by each statement in the basic block isa:) Treeb:) DAGc:) graphd:) NONE
4.8k
views
commented
Apr 1, 2021
Compiler Design
compiler-design
+
–
1
answer
6
ME Compiler Design
Consider the following transition rules: A->BC C->+BC|A|$\epsilon$ B->DB{print '+'}|$\epsilon$ D->(A)|id{print num.value} On input '5+67' this translation scheme prints A 5+67+ B 5+6+7+ C 5+6+7 D 5+67++
Consider the following transition rules:A->BCC->+BC|A|$\epsilon$B->DB{print '+'}|$\epsilon$D->(A)|id{print num.value}On input '5+67' this translation scheme printsA 5+67+...
1.3k
views
commented
Mar 30, 2021
Compiler Design
syntax-directed-translation
compiler-design
+
–
4
answers
7
GATE IT 2008 | Question: 50
Consider the C program below. What does it print? # include <stdio.h> # define swapl (a, b) tmp = a; a = b; b = tmp void swap2 ( int a, int b) { int tmp; tmp = a; a = b; b = tmp; } void swap3 (int*a, int*b) { int tmp; tmp = *a; *a = *b; *b ... (num1 > = num2) {swap3 (&num1, &num2);} printf ("%d, %d", num1, num2); } $5, 5$ $5, 4$ $4, 5$ $4, 4$
Consider the C program below. What does it print?# include <stdio.h # define swapl (a, b) tmp = a; a = b; b = tmp void swap2 ( int a, int b) { int tmp; tmp = a; a = b; b ...
10.6k
views
commented
Dec 28, 2020
Programming in C
gateit-2008
programming
programming-in-c
easy
parameter-passing
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register