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

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
Page 2 of 15

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!