Prep Hub

UGC NET PAPER 2 COMPUTER SCIENCE – SET 46

UGC NET PAPER 2 COMPUTER SCIENCE – SET 46

Period: JUNE 2014


901. What does `seq 1 2 10` print on Linux?

Operating System • Shell Utilities • JUNE 2014


902. Which is non-portable in Windows 2000?

Operating System • Windows Architecture • JUNE 2014


903. Match storage classes: a=auto,b=register,c=static,d=external codes below.

Programming Languages • C Language • JUNE 2014


904. When passing an array to a function, what gets passed?

Programming Languages • C Language • JUNE 2014


905. `while(87) printf("computer");` prints “computer” ___.

Programming Languages • C Language • JUNE 2014


906. Correct return value on successful program completion is ___.

Programming Languages • C Language • JUNE 2014


907. Match I/O classes: fopen() → file pointer; fclose() →?; ferror() →?; feof() →?

Programming Languages • C: stdio Library • JUNE 2014


908. A friend function can be used to ___.

Programming Languages • C++ OOP • JUNE 2014


909. C++ control string chars:

Programming Languages • C++: Character Classification • JUNE 2014


910. Match jump statements: a.return b.goto c.break d.continue → i. conditional test & increment ii. value associated iii. requires label iv. exit innermost loop.

Programming Languages • Control Flow Statements • JUNE 2014


911. Match Java Servlet interfaces: ServletConfig→?; ServletContext→?; ServletRequest→?; ServletResponse→? (i–iv unspecified)

Programming Languages • Java Servlets • JUNE 2014


912. ORB is a program that runs on ___.

Programming Languages • Middleware • JUNE 2014


913. OOP means organizing software as ___.

Programming Languages • OOP Concepts • JUNE 2014


914. Which pure OO language has runtime-modifiable metadata?

Programming Languages • OOP Languages • JUNE 2014


915. Match shell script variables: $?→iv, $#→iii, $0→i, $*→ii. Which code sequence is correct?

Programming Languages • Shell Scripting • JUNE 2014


916. Which command outputs “onetwothree”?

Programming Languages • Shell Scripting • JUNE 2014


917. Code blocks allow algorithms with parameters:

Programming Languages • Structured Programming • JUNE 2014


918. Win32 API supports ___.

Programming Languages • Windows API • JUNE 2014


919. Windows programming classes are provided by the ___.

Programming Languages • Windows Programming • JUNE 2014


920. Host-to-host layers in the OSI model are ___.

Software Engineering • OSI Model Layers • JUNE 2014



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