100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CSIT 111 Exam Questions and Answers 2024;full solution pack

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
23-05-2024
Written in
2023/2024

A method to find in a class instance data without needing to pass them as parameters or declare them as local variables - Answer-true Every class definition must include a constructor - Answer-False While multiple objects of the class can exist in a giver program there can be only one version of each class - Answer-True Accessors and mutators provide mechanisms for controlled access to a well encapsulated class - AnswerTrue All Java classes must contain a main method which is the first method executed when the java class is called upon - Answer-False As In The other memebers of the C family languages C C++ C# java interprets a zero value as false and a non zero value as true - Answer-True In java selection statements consist of the if and if else statements - Answer-False In Java, the symbol "=" and the symbol "==" are used synonymously (interchangeably). - Answer-False When comparing any primitive type of variable, == should always be used to test to see if two values are equal. - Answer-False The statement if (a >= b) a++; else b--; will do the same thing as the statement if (a < b) b--; else a++;. - Answer-true An if statement may or may not have an else clause, but an else clause must be part of an if statement. - Answer-trueIn order to compare int, float and double variables, you can use <, >, ==, !=, <=, >=, but to compare char and String variables, you must use compareTo( ), equals( ) and equalsIgnoreCase( ). - Answer-false Control in a switch statement jumps to the first matching case. - Answer-false Each case in a switch statement must terminate with a break statement. - Answer-false It is possible to convert any type of loop (while, do, or for) into any other. - Answer-true The following loop is syntactically valid. for (int j = 0; j < 1000; j++) j--; - Answer-true A dialog box is a device which accepts voice commands. - Answer-false For the questions below, assume that boolean done = false, int x = 10, int y = 11, String s = "Help" and String t = "Goodbye". The expression (!done && x <= y) is true. - Answer-true For the questions below, assume that boolean done = false, int x = 10, int y = 11, String s = "Help" and String t = "Goodbye". The expression (done | | reTo(t) < 0) is true. - Answer-false How many unique items can be represented with 16 bits? - Answer-256 items If a language uses 240 unique letters and symbols, how many bits would beneeded to store each character of a document? - Answer-1

Show more Read less
Institution
CSIT 111
Course
CSIT 111









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CSIT 111
Course
CSIT 111

Document information

Uploaded on
May 23, 2024
Number of pages
13
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Brainarium Delaware State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1826
Member since
2 year
Number of followers
1043
Documents
22338
Last sold
3 days ago

3.8

317 reviews

5
147
4
60
3
54
2
16
1
40

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions