Search results

Jump to: navigation, search
  • * For CS system, set the KVM switch to 1. # Grading turnaround - items graded within 1 week of due date.
    37 KB (6,299 words) - 16:11, 11 September 2023
  • ...ched to 101 (current 101 grades - 78%, 11%), 1 dropped 151 after 2nd week, 1 is in 151 and grade is B, +12% compared to their section average ** 5 dropped 151 before 2nd week (CS 101 grades - 70, 80, 87), 1 dropped 151 after 2nd week, other 10 still in 151 and have average grade th
    8 KB (1,204 words) - 01:55, 19 November 2021
  • ...oblem will be rated as correct, half correct, or incorrect; this value (1, 1/2, or 0) is multiplied by the difficulty rating for the problem. Thus for ...s a math problem (problem 1 in the word doc) and 2 algorithms questions (2.1 and 2.2 in the word doc). You should download the link again into a new dir
    17 KB (2,872 words) - 16:17, 5 January 2023
  • * [https://www.hackerrank.com/challenges/frequency-of-digits-1/problem Digit Frequency] * char (1), short (2), int (4), long (8), unsigned (modifier for the integer types),
    11 KB (1,843 words) - 18:42, 28 October 2020
  • ===Programming Assignments 1=== [[Programming Assignments - Beginning 1]] - start with trying to solve these problems. Each requires a different f
    10 KB (1,714 words) - 15:24, 27 July 2020
  • * ''Inf'' - result of math operation that would give infinity (e.g., 1/0) * ''NaN'' - result of math operation where result is not defined (e.g., 1/0 - 1/0)
    11 KB (1,779 words) - 18:34, 20 January 2022
  • * du - display disk usage information for a directory (du -h -d 1)
    3 KB (471 words) - 16:10, 31 July 2023
  • cs299@cs:~/shakespeare> head -n 1 shakespeare.txt cs299@cs:~/shakespeare> tail -n 1 shakespeare.txt
    3 KB (535 words) - 20:16, 13 January 2022
  • * ''Switch back to "normal screen" mode:'' ctrl-x 1
    10 KB (1,890 words) - 17:17, 20 August 2022
  • * '''Array (unsorted)''' - O(1) insert, O(n) lookup using linear search, O(1) delete if you have an index to what is being deleted. * '''Linked list''' - O(1) insert, O(n) lookup using linear search, O(1) delete.
    6 KB (979 words) - 15:22, 17 May 2021
  • ...) function return values. Three main parts of calling/using a function - (1) specify the ''arguments'' to the function (which are passed in to the para ...For example, in 1 + 2 * 3, the multiplication is performed first, giving 1 + 6, and then the + is performed to result in 7. For Python, see [https://
    7 KB (1,103 words) - 15:36, 7 September 2022
  • ...vision (3/2 is 1.5), while // is integer division (3//2 is rounded down to 1). ** % is remainder (10 % 3 is 1, 17 % 3 is 2), and ** is exponentiation (10**3 is 1000, 2**3 is 8).
    9 KB (1,497 words) - 18:01, 7 September 2022
  • # ''Count up'' - print numbers from 1 to 10, one per line # ''Count down'' - print numbers from 10 down to 1, then blastoff
    2 KB (354 words) - 03:16, 6 November 2020
  • #REDIRECT [[Programming Assignments - Beginning 1]]
    51 bytes (5 words) - 13:14, 1 January 2020
  • ...rst complete most of the problems in [[Programming Assignments - Beginning 1]] before working on problems on this page. ...o convert to/from as part of the parameter (e.g., parse text like "convert 1 mile to km" and do the conversion)
    3 KB (602 words) - 14:26, 1 January 2020
  • ...e to complete the programs listed in [[Programming Assignments - Beginning 1]] on demand without much trouble and without consulting the internet. You The challenge exam has two parts: (1) a closed-notes timed exam taken through the university's course management
    5 KB (952 words) - 15:36, 15 July 2022
  • ** 2<sup>10</sup> = 1024, roughly 1 thousand ** 2<sup>-a</sup> = 1 / (2<sup>a</sup>)
    12 KB (2,001 words) - 12:38, 21 November 2022
  • * bit is 0 or 1, stands for “binary digit” * MB - megabyte, 1 million bytes
    2 KB (309 words) - 02:26, 7 January 2020
  • * Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition) 3rd Edition by W. Richard Stevens
    2 KB (272 words) - 13:17, 18 May 2021
  • * 4 - 2 * 1 * 1 + 2 ** 3
    7 KB (1,083 words) - 16:19, 8 August 2022
  • -rw-r--r-- 1 cs15100 class 60 Jan 10 11:43 hello.txt -rw-r--r-- 1 cs15100 class 16 Jan 10 11:46 cs151Hello
    10 KB (1,644 words) - 01:31, 15 January 2020
  • ...edu/covid/sycamore-community-health-initiative has decided] that as of Jan 1, 2022, all students and employees on campus will need to either upload proo ...can be vaccinated '''on campus (as of November, every Tuesday and Thursday 1-4:30pm at the [https://www.indstate.edu/health-center ISU Health Center])''
    5 KB (766 words) - 13:51, 3 November 2021
  • ...line argument is an integer, print whether it has an even or odd number of 1's in its binary representation. Should work for non-negative integers that Example input (bubble): 1 2 3 4
    5 KB (851 words) - 11:34, 9 June 2020
  • ''Instructor Office Hours:'' MWF 10am-1pm, 2-2:45pm; TR 11-12:30pm, 1:30-2:45pm ====Exam 1====
    49 KB (8,564 words) - 13:22, 16 January 2024
  • ...nested loops that each go 1 to 1000 will end up running the innermost code 1 million times. ...d) to try out - [https://www.hackerrank.com/challenges/an-interesting-game-1/problem Gaming Array], [https://www.hackerrank.com/challenges/new-year-chao
    4 KB (639 words) - 00:01, 12 May 2024
  • * 9/25/2023 - 4+1 accelerated BS+MS program for computer science is now in effect. A student * 8/1/2022 - A course '''CS 510 Fast Track Into to Programming''' has been added
    9 KB (1,515 words) - 18:05, 10 April 2024
  • * '''[[Python Starting]]''' assignment 1 listed on the bottom of that page. Due Oct 5. * 2022-09-28 - see h2_python_errors and python starting assignment 1 above.
    31 KB (5,188 words) - 22:33, 6 January 2023
  • ...h2 h3_ods_ch2]''' - how you work on this is similar to h1 and h2. Due Oct 1. * 2022-09-29 - next topic after linked lists will be- hash tables (sections 5.1-5.3 in ODS).
    40 KB (6,884 words) - 22:32, 6 January 2023
  • ''Lecture:'' MW 1-1:50 and TR 12:30-1:20 in Root Hall A-019, over Zoom (link in Canvas, see below), and recorded< ''Final exam:'' Wednesday, Dec 7, 1-2:50am and/or Tuesday, Dec 6 1-2:50pm <br>
    38 KB (6,444 words) - 20:00, 6 January 2023
  • =Assignment 1= ...a file called count.py, and put code in it to print out the integers from 1 to 10. Save the file and demonstrate running it in the terminal.
    5 KB (900 words) - 16:40, 28 September 2022
  • 1 2 3 4 5 6 Swap: 4.0Gi 1.0Gi 3.0Gi
    7 KB (1,274 words) - 15:28, 10 January 2023
  • * ''Switch back to "normal screen" mode:'' ctrl-x 1
    12 KB (2,158 words) - 18:34, 26 July 2023
  • =Assignment 1= '''Pass rating check''' Each part must be correct to earn a 1/1 on that part. The total for the problems would be 2 points.
    7 KB (1,158 words) - 17:00, 5 September 2023
  • * '''integer data types''': <code>char</code> (1 byte), <code>short</code> (2 bytes), <code>int</code> (4 bytes), <code>long ...s, the value ranges from (-2<sup># of bits -1</sup>) to (2<sup># of bits - 1</sup>). E.g., <code>char</code> ranges from -128 to 127, while <code>unsign
    8 KB (1,365 words) - 14:19, 13 January 2023
  • * (k choose 0) = 1, for any integer k >= 0 ...ems. So we have the total number of choices as: (n choose i) + (n choose i+1). Note that this identity also shows up in [https://en.wikipedia.org/wiki/P
    12 KB (2,237 words) - 15:43, 23 October 2023
  • =Exam part 1= ...you will have the regular class periods on Friday March 24 (10-10:50am, 1-1:50pm). It will be q1-q4 for the first hour and q5-q8 for the second hour.
    3 KB (595 words) - 15:42, 22 March 2023
  • =Midterm Exam, part 1= Part 1 is in Canvas. You will have the chance to do retakes of q1, q2, q3, q5 aga
    2 KB (463 words) - 14:41, 27 March 2023
  • <pre>run 1 2 3</pre> (gdb) run 1 2 3
    5 KB (798 words) - 13:21, 31 January 2024
  • du -d 1 -h extensions du -d 1 -h .
    3 KB (495 words) - 15:24, 23 March 2023
  • # MCS Problem 12.46. Base case: 1 vertex graph, 2 vertex graph, 3 vertex graph.
    1 KB (170 words) - 02:48, 18 November 2022
  • ...ster than (log(n))<sup>d</sup> for any constant c > 0 and constant d, (3) (1+c)<sup>n<sup>d</sup></sup> grows faster than n<sup>e</sup> for any constant ...psilon g(n) for all n >= n0.''<br>''Note that sin(x) ranges between -1 and 1, and periodically goes between those two values forever; that is all you ne
    3 KB (539 words) - 13:44, 26 April 2023
  • The exam slot on Wednesday, May 3, 1-2:50pm will be for short answer / essay questions. You will have the follow Quizzes will all be available to retake May 1, 10am-noon. If there are any where your highest score in Canvas is less tha
    10 KB (1,770 words) - 17:55, 27 April 2023
  • * C programs need a pass rating (2/2 or 1/1 for HW, 80%+ for midterm/final problems), and need a given number of them p ...ional logic (3), command line arguments (2), read from stdin/file - lines (1)
    5 KB (937 words) - 15:13, 28 April 2023
  • ''Lecture:'' WF 10-10:50am, 1-1:50pm in Root Hall A-019, over Zoom (link in Canvas, see below), and recorde ''Final exam:'' Monday, May 1, 10-11:50am and/or Wednesday, May 3 1-2:50pm <br>
    34 KB (5,630 words) - 21:02, 20 August 2023
  • ...done with h8, you will put your answers into q4 (since that will autograde 1/2 of the assignment). Note - only keeping the auto-graded parts, so max sc .... See the lecture from Jan 27 for how to work on this assignment. Due Feb 1/3.
    37 KB (6,225 words) - 15:44, 26 July 2023
  • ...t, and show how this works for p. We need to check that 2<sup>p-1</sup> = 1 mod p. So we need to compute 2<sup>240</sup> mod 241. Note that Python ca * 2<sup>1</sup> mod 241 = 2
    12 KB (2,049 words) - 01:40, 23 February 2024
  • ''Lecture:'' Tuesday and Thursday 12:30-1:45 in person and Zoom(in Canvas, see below), and recorded<br> ** Jupyter - [https://www.ibm.com/docs/en/watson-studio-local/1.2.3?topic=notebooks-markdown-jupyter-cheatsheet markdown cheat sheet], [htt
    36 KB (5,990 words) - 21:23, 24 January 2024
  • ''Final exam:'' Monday, May 1 at 7pm <br> ** Quiz 1 I'll have posted on Friday. It will be due end of day next Tuesday (Jan 31s
    23 KB (3,865 words) - 00:04, 19 April 2023
  • ...re code. By default, 1/2 of the points are for correctness, 1/4 for style, 1/4 for being safe/secure. Sometimes only the correctness will be graded. For ...rrectness and style. By default, 2/3 of the points are for correctness and 1/3 for style. Points are subtracted for any statement that you include that
    5 KB (928 words) - 02:12, 16 January 2024
  • ...rect if there are 0 grades (see above - that may be considered bad input), 1 grade, or more. ...ze''': always allocate enough space for the largest string you will need + 1 for the terminating NULL character. For example, the following is not ok: <
    3 KB (595 words) - 14:41, 28 July 2023

View (previous 50 | next 50) (20 | 50 | 100 | 250 | 500)