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 1 out of 2 pages
Exam (elaborations)

CSCI 117 Exam 1 – Complete Study Guide and Practice Questions

Document preview thumbnail
Preview 1 out of 2 pages

This document covers the key concepts for CSCI 117 Exam 1, including computer fundamentals, programming concepts, algorithms, variables, data types, control structures, functions, debugging, and problem-solving techniques. It includes comprehensive study notes, key definitions, worked examples, and practice questions with answer explanations to help students prepare effectively for the first exam. The material is organized for efficient review and reinforces the foundational principles of computer science and introductory programming.

Content preview

CSCI 117 EXAM 1 WITH VERIFIED
ANSWERS GRADED A+ (LATEST
UPDATE 2026)
Syntax - answer-specifies how program in the language are built up



Semantic - answer-specifies what the program means



Lexical Syntax - answer-spelling of words notation:

regular expression, ex) a*, ab+, (a|b)+

sample words: a, aa, aaa, ab, abb, abab,.



grammar (CFG) Context Free Grammar - answer-notation: BNF (Backus-Naur Form)
EBNF (extended Backus-Naur Form) syntax chart (graphical)



What are the 3 expression notations? - answer-Prefix, easy to decode



Infix, user friendly (easy to read)

-Needs precedence and associativity

-Only infix uses ( )



Postfix, evaluated by stack



Abstract Syntax Tree (AST) - answer-Uses op(+,-,*,/) , id(a,b,c), num(1,2,3)



Parse Tree - answer-Built from grammar



Unambiguous Grammar - answer-1. Keep precedence (Lower precedence up)

Document information

Uploaded on
July 27, 2026
Number of pages
2
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
lectshammah
5.0
(1)
Sold
5
Followers
0
Items
1039
Last sold
1 month 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