adplus-dvertising

Welcome to the Programming Languages MCQs Page

Dive deep into the fascinating world of Programming Languages with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Programming Languages, a crucial aspect of Systems Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of Programming Languages, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Systems Programming.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Programming Languages. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Systems Programming.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Programming Languages. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Programming Languages MCQs | Page 2 of 15

Explore more Topics under Systems Programming

Q11.
Any syntactic construct that can be described by a regular expression can also be described by a
Discuss
Answer: (c).context free grammar
Q12.
Context-free grammar (CFG) can be recognized by
Discuss
Answer: (d).both b and c
Discuss
Answer: (a).4GL does not support a high-level of screen interaction
Q14.
The field that contains a segment index or an internal index is called
Discuss
Answer: (a).target datum
Q15.
What will be output of the following code?
#include
int main(){
printf(โ€œ%d\tโ€,sizeof(6.5));
printf(โ€œ%d\tโ€,sizeof(90000));
printf(โ€œ%dโ€,sizeof(โ€˜Aโ€™));
return 0;
}
Discuss
Answer: (c).8 4 4
Q16.
What will be output of the following c code? ( according to GCC compiler)
#include
int main(){
signed x;
unsigned y;
x = 10 +- 10u + 10u +- 10;
y = x;
if(x==y)
printf(โ€œ%d %dโ€,x,y);
else if(x!=y)
printf(โ€œ%u %uโ€,x,y);
return 0;
}
Discuss
Answer: (a).0 0
Q17.
What will be output of the following c code?
#include
int main(){
const int *p;
int a=10;
p=&a;
printf(โ€œ%dโ€,*p);
return 0;
}
Discuss
Answer: (b).10
Q18.
What will be output of the following c code?
#include
int main(){
int a= sizeof(signed) +sizeof(unsigned);
int b=sizeof(const)+sizeof(volatile);
printf(โ€œ%dโ€,a+++b);
return 0;
}
Discuss
Answer: (c).8
Q19.
Which of the following is integral data type?
Discuss
Answer: (b).char
Q20.
What will be output of the following c code?
#include
int main(){
volatile int a=11;
printf(โ€œ%dโ€,a);
return 0;
}
Discuss
Answer: (d).Cannot Predict

Suggested Topics

Are you eager to expand your knowledge beyond Systems Programming? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!