Loading…
CS Fundamentals · short notes, key points and practice questions.
Covers SDLC models, Agile and Scrum, testing levels and techniques, cyclomatic complexity, design patterns and SOLID, Git commands and branching scenarios, REST APIs, cloud service models, virtualisation and containers. Placement tests ask scenario questions on Git, black-box versus white-box testing counts, pattern and principle matching, HTTP semantics and availability calculations.
new MySqlDatabase() applies dependency inversionreset --soft moves HEAD only (changes stay staged); --mixed (default) also unstages; --hard also discards working changesrevert adds a new undo commit – safe on shared branches; reset and rebase rewrite historyrebase replays commits on a new base, giving them new hashes; merge keeps both histories with a merge commitmerge --squash stages the changes without recording a merge, so branch -d then refuses (use -D)git rm --cachedAnswer: A. Waterfall model
Answer: C. Spiral model
Answer: A. 9
def tally(a, b, items):
count = 0
for x in items:
if x > a and x < b:
count += 1
elif x == 0 or x == -1:
continue
while count > 10:
count -= 10
return countAnswer: C. 7
Answer: B. git clone