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 33 pages
Exam (elaborations)

CSE 3901 Midterm 1 Exam fully solved & updated 2026 (latest version verified for accuracy) | Latest!!

Document preview thumbnail
Preview 4 out of 33 pages

CSE 3901 Midterm 1 Exam fully solved & updated 2026 (latest version verified for accuracy) | Latest!!

Content preview

CSE 3901 Midterm 1 Exam fully solved & updated 2026 (latest version
verified for accuracy) | Latest!!




Git Repository - (ANSWER)working tree + store + index



Git Working Tree - (ANSWER)project itself



Ordinary directory with files & subdirectories



Git Store - (ANSWER)history of project



Git Index - (ANSWER)virtual snapshot



Gateway for moving changes in the working tree into the store



Git History - (ANSWER)DAG of commits



Each commit represents a complete snapshot of the entire project



Git Revision - (ANSWER)Just the manual editing of the file



Git Commit - (ANSWER)updates head and branch (permanent)



identified by a hash



Git Branch - (ANSWER)a pointer to a commit



how to add git branch - (ANSWER)git branch branchname

git checkout branchname

,CSE 3901 Midterm 1 Exam fully solved & updated 2026 (latest version
verified for accuracy) | Latest!!




how to change git branch - (ANSWER)git checkout branchname



Git Head - (ANSWER)a pointer to a branch

(where you're at)



Git Add - (ANSWER)adds the submission



how to add (all steps) - (ANSWER)git add name.rb

git commit -m "comment"

git push remote_name branch_name



Git Checkout - (ANSWER)moves head to look at another branch



Git Merge - (ANSWER)brings two together, adds new commit



Git Fast-Forward Merge - (ANSWER)bring old into new head



Git Fetch - (ANSWER)bring in commits that given user lacks



Git Push - (ANSWER)opposite to fetch. Give someone a change



Git Pull - (ANSWER)combines fetch and merge



Git No Conflict Merge - (ANSWER)Automatically commits

,CSE 3901 Midterm 1 Exam fully solved & updated 2026 (latest version
verified for accuracy) | Latest!!




Distributed version control - (ANSWER)Multiple people, distributed across network



- each person has their own repository

- units of data movement: changesets



Number of repositories per team - (ANSWER)n+1.

1 shared, 1 local for each



Discard Changes in Git : reset - (ANSWER)git reset --hard

git clean --dry-run

git clean --force



Discard Commit in Git : reset - (ANSWER)git reset --hard HEAD~1



Strongly Typed Language - (ANSWER)Classes determine valid operations



Interpreted Program - (ANSWER)Run a program directly, without compiling



pro:

platform independence

read-eval-print loop (REPL)

reflection



con:

speed

later error detection

, CSE 3901 Midterm 1 Exam fully solved & updated 2026 (latest version
verified for accuracy) | Latest!!




Dynamically typed - (ANSWER)objects have types, variables don't



Objects in Ruby? - (ANSWER)Everything



Fixnum Numbers in Ruby - (ANSWER)83, 0123, 0x53, 0b1010011, 0b101_0011



Float Numbers in Ruby - (ANSWER)123.45, 1.2345e2, 12345E-2



Rational Numbers in Ruby - (ANSWER)2/3r



Complex Numbers in Ruby - (ANSWER)4+3i



Strings Delimeters - (ANSWER)" " and ' '



String Interpolations inside " " - (ANSWER)#{ ... } --> allows executions inside string



Range inclusive - (ANSWER)0..4



Range end exclusive - (ANSWER)0...4



Single Line comment - (ANSWER)# start with hashtag/pound/octothorpe



Multi-line comment - (ANSWER)=being

words

words word

Document information

Uploaded on
June 9, 2026
Number of pages
33
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

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.
VstarPlug
4.9
(285)
Sold
1325
Followers
2
Items
1202
Last sold
3 weeks 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