|
Thursday May 9th - File IO Unit Test (hardcopy paper)
file IO test
What is unit testing? What are it's limitations?
What is the difference(s) between binary and text files
Look at a piece of code and explain why the expected outcome is not occurring. Suggest a small change to make it work
Statements to create new file, scanner and printwriter objects given a file name.
structure of try-catch exception handling. Why do we use it?
command to close a file
Where in your project's file structure do you put your files that you will read/write?
Why do we use file delimiters?
Use of StringTokenizer and .nextToken() for file delimiters
What is the term for converting text data to binary data?
What is the term for converting binary data to text data?
What is an EOFException?
Advantage of arraylist over array
Statement to create an arrayList
Statement to add an item to an arrayList
statement to delete an item from an arrayList
loop statement for looping through an arrayList
What does FileInputStream object do?
What does ObjectInputStream object do?
What does the java.io.Serializable library do?
What is an encryption key?
What is the advantage of one-way encryption?
What is a message 'digest'?
Why was MD5 abandonned in 2005?
What replaced MD5?
What is gitHub? What is a repository? What does gitHub allow you to do?
In a debugger, what is a 'breakpoint'? What happens to your program's execution when the execution reaches a breakpoint?
Monday April 8 - Object Oriented Programming Unit Test
See this document for topics of the test. There will be a programming component to this test. You will need to budget your time.
February 22 - Java Concepts Test
Your primary reference is the e-text JavaText2013
Also study this week-1 slide show
Differences between machine language, high level language, assembler, interpreters (chapter 1 of JavaText2013)
Data types - char, boolean, int, long, double, String
keyboard data entry structures nextInt, nextDouble, nextLine etc.
Analyze a piece of code and then generate the output
Differences between while, do-while and for loops
Look at a piece of code and determine which option will make the program work as required
Know type casting - double to integer, integer to double, string.valueOf etc.
Uses of methods and advantages/disadvantages
Use of different operators and string comparison methods(look them up)
Java parameters/arguments - their purpose
One-dimensional arrays in Java
Use of string.charAt(x) method, string.length() method and string concatenation.(look it up)
Use of tokenizers with different delimiters (',', ' ', '/' etc.) SPLIT is not permitted for this test.
Given a specification, write a short Java program
You are NOT to use separate classes and/or object-oriented solutions for this test.
You are NOT to use Java string methods NOT specified in this hints inventory.
file IO test
What is unit testing? What are it's limitations?
What is the difference(s) between binary and text files
Look at a piece of code and explain why the expected outcome is not occurring. Suggest a small change to make it work
Statements to create new file, scanner and printwriter objects given a file name.
structure of try-catch exception handling. Why do we use it?
command to close a file
Where in your project's file structure do you put your files that you will read/write?
Why do we use file delimiters?
Use of StringTokenizer and .nextToken() for file delimiters
What is the term for converting text data to binary data?
What is the term for converting binary data to text data?
What is an EOFException?
Advantage of arraylist over array
Statement to create an arrayList
Statement to add an item to an arrayList
statement to delete an item from an arrayList
loop statement for looping through an arrayList
What does FileInputStream object do?
What does ObjectInputStream object do?
What does the java.io.Serializable library do?
What is an encryption key?
What is the advantage of one-way encryption?
What is a message 'digest'?
Why was MD5 abandonned in 2005?
What replaced MD5?
What is gitHub? What is a repository? What does gitHub allow you to do?
In a debugger, what is a 'breakpoint'? What happens to your program's execution when the execution reaches a breakpoint?
Monday April 8 - Object Oriented Programming Unit Test
See this document for topics of the test. There will be a programming component to this test. You will need to budget your time.
February 22 - Java Concepts Test
Your primary reference is the e-text JavaText2013
Also study this week-1 slide show
Differences between machine language, high level language, assembler, interpreters (chapter 1 of JavaText2013)
Data types - char, boolean, int, long, double, String
keyboard data entry structures nextInt, nextDouble, nextLine etc.
Analyze a piece of code and then generate the output
Differences between while, do-while and for loops
Look at a piece of code and determine which option will make the program work as required
Know type casting - double to integer, integer to double, string.valueOf etc.
Uses of methods and advantages/disadvantages
Use of different operators and string comparison methods(look them up)
Java parameters/arguments - their purpose
One-dimensional arrays in Java
Use of string.charAt(x) method, string.length() method and string concatenation.(look it up)
Use of tokenizers with different delimiters (',', ' ', '/' etc.) SPLIT is not permitted for this test.
Given a specification, write a short Java program
You are NOT to use separate classes and/or object-oriented solutions for this test.
You are NOT to use Java string methods NOT specified in this hints inventory.