• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

CS2 Quiz 1

Document preview thumbnail
Preview 1 out of 4 pages

Exam of 4 pages for the course CS2 at CS2 (CS2 Quiz 1)

Content preview

CS2 Quiz 1
a remote machine to code. Interactive program that reads text-based commands and passes
them to the operating system. - ANS-The Linux Shell

/home/John/file.type - ANS-Linux File Systems

A powerful command-line text editor available on most UNIX and Linux systems. - ANS-the vi
editor

prints working dir - ANS-file commands pwd

list content in current directory - ANS-ls

make directory - ANS-mkdir

Changes to a different directory - ANS-cd

remove directory - ANS-rmdir

show the manual for command - ANS-man command

____ is a style of programming that involves representing items, things, and people as objects
rather than basing the logic around actions. - ANS-object-oriented programming

A class in Java is compound data type containing a set of data fields & functions

public class MyClass {
int x = 5;
} - ANS-Java Class

a func with the same name as its class w/ no return type and any numb of args. Automatically
invoked when an obj is created.

public class MyClass {
int x;

public MyClass() {
x = 5;
}
public static void main(String[] args) {
MyClass myObj = new MyClass();

Document information

Uploaded on
August 28, 2024
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
CA$12.42

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
topgradesdr
4.8
(301)
Sold
1672
Followers
9
Items
17005
Last sold
1 day ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions