stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CS 200 Quiz 1 Flashcards | StudBud
Explore
/
CS 200 Quiz 1
CS 200 Quiz 1
30 terms
·
StudBud Administration
·
7 plays
Quiz 1
Flashcards
30 cards
F
Practice quiz
P
Host live
L
Questions
30
Answers
1
Which of the following does not belong describe C#?
modern
simple
complex
OOP
2
In JAVA, which library is use for extension for java.awt library?
java.math
java.util
java.io
java.awt.image
3
It is a general-purpose language designed for developing apps on the Microsoft platform.
C#
C
C++
C with Classes
4
C# was created by a team of people at Microsoft all led by __ in the year ___.
Anders Hejlsberg, 2001
Aders Hejlsberg, 2001
Aders Hejlsberg, 2000
Anders Hejlsberg, 2000
5
Bjarne Stroustrup born in __.
31 December 1951
30 December 1950
30 December 1960
31 December 1960
6
Which of the following is NOT TRUE about Java™ Programming Language?
It has fewer low-level facilities than C and C++.
General purpose PL with strong typing and a class-based OOP.
The syntax of Java is similar to C and C++.
It provides access pointer to external users.
7
Who is the author of JAVA PL?
Blaise Pascal
James Gosling
Bjarne Stroustrup
Alan Turing
8
In JAVA, which of the following defines a block of statements that have exception handling?
public
try
catch
new
9
In C#, ___ is a keyword for a lightweight alternative to a class.
using
class
struct
enum
10
Which of the following is NOT TRUE about C++?
C++ support garbage collection.
It has no security
C++ is used for platform specific applications.
It is complex in a very large high-level program.
11
In C#, ___ is a keyword that refers to the current instance of the class.
null
this
class
struct
12
In JAVA, this is use to give accesseto the members of any class.
catch
new
try
public
13
Which of the following is TRUE about C#?
Easy to work with.
Runs on Windows only.
Not a modular type of PL.
Complex but has basic logic.
14
In C++, what is iostream?
functions to work with date and time
functions for standard I/O
internationalization support task such as date/time
functions for mathematical operations
15
"Java is a strongly typed programming language". What does it mean?
Takes much longer time to run.
Helps the data to be stored and can be restored easily.
Runs on any machine.
Every variable must have a data type associated with it.
16
In C#, ___ is use to add namespaces in code-behind and class files.
class
enum
struct
using
17
Which of the following does not belong to the group?
void
integer
char
const
18
Which of the following is use to convert given time since epoch to local time?
setlocale()
localtime()
time()
localeconv()
19
In C++, what is NOT TRUE about cin?
cin is used to read input from the standard input device
cin is use with the insertion operator (<<).
cin is the instance of the class istream
The extraction operator(>>) is used with cin.
20
What makes JAVA PL unique?
Write once run anywhere
Can access the computer it runs o
Uses pointers for all users
Implements FIFO allocation system
21
In C#, ___ is a keyword used to declare an enumeration.
class
enum
struct
using
22
In JAVA, which library is use for file i/o, exception handling?
java.awt.image
java.lang
java.io
java.math
23
In JAVA, which library is use for data structures, regular expressions, date-time functions?
java.io
java.awt.image
java.math
java.util
24
Which is NOT TRUE about the author of C++?
He works at Morgan Stanley as a Managing Director.
He earned a Ph.D in CS from Carnegie Mellon University.
He is a Danish computer scientist.
He is a visiting professor at Columbia University.
25
Which of the following does not belong to the group?
Visual C# Express
NET Framework SDK 3.5
BlueJ
Visual Studio
26
When was C++ named as C++?
1973
1984
1983
1974
27
C++ is considered to be an intermediate-level language because ___.
It encapsulates both high- and low-level language features.
It had all the properties of the C language
It it has OOP plus features of C.
It is a general-purpose OOP language.
28
Which of the following is considered as one of the downside of JAVA PL?
Better Allocation
Does not use Pointer
Verbose and complex code
Platform Independent
29
A keyword in C++ used to allocate elements in a storage only once in a program lifetime.
static
return
void
const
30
In C#, ___ is a keyword used to create a class.
using
class
enum
struct