Prep Hub

Programming Languages MCQs – Set 45

Programming Languages MCQs – Set 45

UGC NET Paper 2 Computer Science DEC 2012 – Programming Languages


881. To convert a CFG to LL(1), remove?

Programming Languages • LL(1) Grammar Preparation • UGC NET Paper 2 Computer Science DEC 2012


882. The most powerful parsing method is?

Programming Languages • Parsing Techniques • UGC NET Paper 2 Computer Science DEC 2012


883. Method to retrieve checkbox state in many GUI APIs is:

Programming Languages • GUI Programming • UGC NET Paper 2 Computer Science DEC 2012


884. A language that allows user-defined new data types is called:

Programming Languages • Language Design: Extensibility • UGC NET Paper 2 Computer Science DEC 2012


885. Functions defined with class name are called:

Programming Languages • OOP: Constructors • UGC NET Paper 2 Computer Science DEC 2012


886. The default parameter-passing mechanism in most languages is:

Programming Languages • Parameter Passing • UGC NET Paper 2 Computer Science DEC 2012


887. In static vs dynamic scoping, with global i=10, f sets local i=20 and calls g that prints i: (x,y) =:

Programming Languages • Scoping Rules • UGC NET Paper 2 Computer Science DEC 2012


888. In Win32, the function to create Windows applications is

Programming Languages • Windows Programming • UGC NET Paper 2 Computer Science DEC 2012


889. Compiler object files for Windows have which extension?

Programming Languages • Compilation • UGC NET Paper 2 Computer Science DEC 2012


890. Postfix AB+CD–* evaluation uses a __.

Programming Languages • Expression Evaluation • UGC NET Paper 2 Computer Science DEC 2012


891. In `Base* p = new Derived;`, constructors run in which order?

Programming Languages • Object Construction • UGC NET Paper 2 Computer Science DEC 2012


892. printf("%c",100); prints

Programming Languages • C I/O • UGC NET Paper 2 Computer Science DEC 2012


893. Match java.util methods: BitSet.hashCode()→ii, Calendar.getTimeZone()→i, TimeZone.setID()→iv, Random.nextInt()→iii:

Programming Languages • Java API • UGC NET Paper 2 Computer Science DEC 2012


894. Which allocation function modifies previously allocated space?

Programming Languages • Memory Management • UGC NET Paper 2 Computer Science DEC 2012


895. The data type created by data abstraction is called _______.

Programming Languages • OSI model • UGC NET Paper 2 Computer Science DEC 2012


896. Common to functional and logic languages is that both are:

Programming Languages • Paradigms • UGC NET Paper 2 Computer Science DEC 2012


897. Cached/interleaved memories suit which programs? (i) cache→small loops (ii) interleaved→small loops (iii) interleaved→large seq (iv) cache→large seq

Programming Languages • • UGC NET Paper 2 Computer Science DEC 2012


898. Identify incorrect statement about E-Commerce data warehousing:

Programming Languages • • UGC NET Paper 2 Computer Science DEC 2012


899. The correct way to round off a floating number x to an integer y is:

Programming Languages • C: Numeric Rounding • UGC NET Paper 2 Computer Science DEC 2012


900. What does the following declaration mean? `int (*ptr)[10];`

Programming Languages • C: Pointers & Arrays • UGC NET Paper 2 Computer Science DEC 2012



Disclaimer for MCQ Quiz
This quiz is for educational purposes only…

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Scroll to Top