Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
ankit
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by ankit
0
votes
1
ISRO2007-18
The number of digit 1 present in the binary representation of $3 \times 512 + 7 \times 64 + 5 \times 8 + 3$ is 8 9 10 12
The number of digit 1 present in the binary representation of$3 \times 512 + 7 \times 64 + 5 \times 8 + 3$ is891012
12.1k
views
answered
Mar 3, 2017
Digital Logic
isro2007
digital-logic
number-representation
+
–
0
votes
2
Checking regularity of a given language.
$L = \left \{ a^nb^mc^p : n+m+p > 5 \right \}.$
$L = \left \{ a^nb^mc^p : n+m+p 5 \right \}.$
639
views
answered
Sep 29, 2016
Theory of Computation
theory-of-computation
regular-language
+
–
0
votes
3
What is the output of the following program?
#include <stdio.h> int gsum(int *a,int n) { if(n<=0) return 0; else { if(*a%2==0) return *a+gsum(a+1,n-1); else return *a-gsum(a+1,n-1); } } int main(void) { // your code goes here int a[]={12,7,13,4,11,6}; printf("%d",gsum(a,6)); return 0; }
#include <stdio.h int gsum(int *a,int n) { if(n<=0) return 0; else { if(*a%2==0) return *a+gsum(a+1,n-1); else return *a-gsum(a+1,n-1); } } int main(void) { // your code ...
719
views
answered
Sep 13, 2016
Programming in C
programming-in-c
+
–
0
votes
4
regular expression
the regular expression a*(ab*)* is same as 1.b*(ab*)*b* 2. a*+b* 3.(aba)*(a*+b) 4. none
the regular expression a*(ab*)* is same as1.b*(ab*)*b*2. a*+b*3.(aba)*(a*+b)4. none
1.3k
views
answered
Aug 30, 2016
1
votes
5
NIELIT 2016 MAR Scientist C - Section C: 13
Context-free grammar can be recognized by finite state automation $2$- way linear bounded automata push down automata both (B) and (C)
Context-free grammar can be recognized by finite state automation$2$- way linear bounded automatapush down automataboth (B) and (C)
6.0k
views
answered
Jul 8, 2016
Compiler Design
nielit2016mar-scientistc
compiler-design
parsing
+
–
9
votes
6
UGC NET CSE | December 2012 | Part 2 | Question: 17
The design issue of Datalink layer in OSI Reference Model is Framing Representation of bits Synchronization of bits Connection control
The design issue of Datalink layer in OSI Reference Model isFramingRepresentation of bitsSynchronization of bitsConnection control
8.5k
views
answered
Jul 8, 2016
Computer Networks
ugcnetcse-dec2012-paper2
computer-networks
network-layering
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register