Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 51 pages
Exam (elaborations)

CSE 3901 MIDTERM MOCK EXAM AND STUDY MATERIAL WITH SOFTWARE DESIGN AND IMPLEMENTATION SCENARIO

Document preview thumbnail
Preview 4 out of 51 pages

CSE 3901 MIDTERM MOCK EXAM AND STUDY MATERIAL WITH SOFTWARE DESIGN AND IMPLEMENTATION SCENARIO

Content preview

CSE 3901 MIDTERM MOCK EXAM AND STUDY
MATERIAL WITH SOFTWARE DESIGN AND
IMPLEMENTATION SCENARIOS

◉ Head.
Answer: a special reference, usually pointing to a branch. think that
this is "attached" to a branch


◉ git status.
Answer: displays differences between head and index


◉ git add.
Answer: updates index based on files in working tree


◉ git commit.
Answer: stores current content of index along with a log message
(makes wt == index)


◉ git branch.
Answer: creates a new branch pointing to where the head is


◉ git checkout xxx.

,Answer: updates index and working tree, points head to whatever
the argument is. only do this if the working tree is clean


◉ git log.
Answer: display snapshots in a store, DAG


◉ merge.
Answer: bring history together, bring work from another branch into
the current branch


◉ DVC.
Answer: Distributed Version Control, multiple people distributed
across a network contributing to a central repository


◉ Dynamically Typed Programming Language.
Answer: variables do not have to have types, objects (which
variables point to) do


◉ primitive types in ruby.
Answer: numbers, strings, ranges, regular expressions


◉ numbers.
Answer: integers (Fixnum, Bignum)

,float: double precision!


◉ strings.
Answer: over 75 built in methods


◉ split.
Answer: splits a string into an array of strings based on a separator


◉ chomp.
Answer: returns a string with the separator string removed. if
nothing, good for removing whitespace & newlines


◉ ranges.
Answer: 1..10 is represented as two values of type fixnum
0..4 includes start and end value
0...4 does not


◉ Local (ruby).
Answer: starts with a lowercase letter or _


◉ global (ruby).
Answer: starts with $

, ◉ instance (ruby).
Answer: starts with @


◉ class (ruby).
Answer: starts with @@


◉ mutability.
Answer: Constants start with Uppercase, IDIOM is all UPCASE


◉ self (ruby).
Answer: receiver of the current method (this)


◉ nil.
Answer: nothingness in ruby


◉ __FILE__.
Answer: the current source file name


◉ __LINE__.
Answer: the current line number

Document information

Uploaded on
August 25, 2026
Number of pages
51
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
CA$21.51

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.
TopGradeInsider
4.2
(13)
Sold
165
Followers
2
Items
55375
Last sold
10 hours 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