[CIS 2750] - Midterm Exam Guide - Everything you need to know! (80 pages long)

112 views80 pages

Document Summary

Things to do: predict the output of python or perl statements or programs, roughly sketch the. Gui that would be displayed by a python program incorporating basic tkinter widgets. Familiar with operators and built in functions show in the lecture notes. Tells the shell (e. g. bash) what program will interpret the script #!/usr/bin/python3. Tells the shell to run the program which follows: #!/usr/bin/perl, #!/bin/sh. E(cid:454)e(cid:272)ute (cid:449)ithout t(cid:455)pi(cid:374)g (cid:862)p(cid:455)tho(cid:374)(cid:863), s(cid:272)(cid:396)ipt (cid:373)ust (cid:271)e (cid:373)ade e(cid:454)e(cid:272)uta(cid:271)le (cid:272)h(cid:373)od +(cid:454) Normal integer (int) and floating point (float) supported: 3, 3. 0, 3. 14e-10 i(cid:374)t t(cid:455)pe has (cid:862)a(cid:396)(cid:271)it(cid:396)a(cid:396)(cid:455) p(cid:396)e(cid:272)isio(cid:374)(cid:863, no max value, uses as much memory as needed. Binary, octal and hexadecimal numbers (int type: 0b10110110, 0o270, 0xbeef. Double quotes: interpolation or natural language messages. Single quotes: symbol like strings tripe dou(cid:271)le (cid:395)uotes: do(cid:272)st(cid:396)i(cid:374)g a(cid:374)d (cid:396)a(cid:449) st(cid:396)i(cid:374)g(cid:863) Syntax for list and dictionary access list: ordered collections of other objects, contain numbers, strings or other lists (heterogeneous data)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents