100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Exam (elaborations) Computer science Computer Science $4.03   Add to cart

Exam (elaborations)

Exam (elaborations) Computer science Computer Science

 9 views  0 purchase
  • Course
  • Computer science
  • Institution
  • Computer Science

This post covers Exam questions on Computer science with verified solutions

Preview 2 out of 12  pages

  • October 17, 2024
  • 12
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
book image

Book Title:

Author(s):

  • Edition:
  • ISBN:
  • Edition:
  • Computer science
  • Computer science
avatar-seller
TGUARD
Computer Science Multiple Choice
QUESTIONS WITH CORRECT ANSWERS


What is programming? - A way to tell a machine what to do.

Which is in the correct (ascending) order?
A. terabyte, kilobyte, megabyte, gigabyte
B. gigabyte, megabyte, kilobyte, byte
C. byte, kilobyte, gigabyte, megabyte
D. kilobyte, megabyte, gigabyte, terabyte - D. kilobyte, megabyte, gigabyte, terabyte

Java was originally developed by... - Sun Microsystems

What does an operating system do? - Manages the computer's resources

Detecting when a key on the keyboard has been pressed is the job of the... - Operating
system

The syntax for the Java language is described in... - the Java Language specfication

Which is not a version of Java?
A. Micro Edition
B. Enterprise Edition
C. Standard Edition - These are all versions of Java.

In Java, curly braces denote... - Code blocks

Every Java program has a... - Main routine

What is the symbol to show a comment? - //

What symbol terminates the statement? - ;

Square brackets are used for... - denoting an array.

, True or False: An integrated development environment (IDE) is needed to create a java
program? - False

The Java compiler accepts a _________ file and produces a ___________ file. - java,
class

If a program has a runtime error, it will... - abort before it is finished

If there is an error in the source code syntax... - the program will not compile

If your program has a logic error... - It may not produce the right answer

In Java, a variable named "myValue" is the same as a variable named "MyValue"... -
False

What is the file extent of a java source file? - Java

Net Beans and Eclipse do essentially the same thing ... - True

A computer program would be useless without all of the following except... - an "if"
statement and loops

Which statement tells Javac that you want to have console input available in your
program?
A. Scanner input = new Scanner(System.out);
B. import java.util.Scanner;
C. String strInput = "User input";
D. double dRadius = 1.5; - B. import java.util.Scanner;

The statement:
import java.util.*;
is an example of a(n) (38)
A. Wildcard import
B. user input
C. algorithm
D. statement that creates a scanner object - D. statement that creates a scanner object

A value that may be changed in a program is a(n) - Variable

Which Java statement sets a value that can't be changed? (43)
A. final double radius = 1.0;

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller TGUARD. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.03. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82977 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.03
  • (0)
  Add to cart