Course Information
Description
This course introduces students to programming using the Visual Basic.NET programming language. (Note: 207 and 208 do not use the same programming language.) It is intended for students with little or no prior programming experience. Topics include the basics of structured programming such as data types, looping and decision statements, functions, arrays, strings, and files. The course also covers the construction and use of classes and other principles of object-oriented programming.
Total Credits
2
Course Competencies
-
Write a given programAssessment Strategiesin a lab exerciseCriteriawrite a given programcompile a programsave a source fileprint a source filerun an executable fileredirect output to a printerwrite source file in standard format
-
Document a program using commentsAssessment Strategiesin projects completed in lab and outside of classCriteriause appropriate form for single and multiline comments.comment all required input.comment all output generated.comment on algorithms and/or program organization.comment on choices of data types.
-
Construct an algorithm to solve a problemAssessment Strategiesin projects completed in lab and outside of classin classroom exercises, take-home problem sets, and testsCriteriaanalyze data and operation specifications of a problemdo a top-down analysis of the problemdevise an algorithm to solve the problemmodify the algorithm to handle exceptional cases
-
Use variables in a programAssessment Strategiesin every programming projectin every test and problem setCriteriadefine variables of atomic data types with appropriate namesstore information in the variables with initialization, assignment, and inputextract information in variables for output
-
Debug a programAssessment Strategiesin projects completed in lab and outside of classin written debugging exercises on exams and problem setsCriteriafind syntax errors which prevent compilation and linkingrepair syntax errors which prevent compilation and linkingwrite logically correct source code to accomplish assigned taskanalyze output and watch variables with break points and step-by-step execution to detect and repair logical errors
-
Format output in a programAssessment Strategiesin projects completed in lab and outside of classin quizzes and testsCriteriaspecify a field widthdisplay numbers in scientific notationdisplay numbers in fixed decimal notation with appropriate precisioninsert new lineschange the justification
-
Use header files in a programAssessment Strategiesin projects completed in lab and outside of classin classroom exercises, take-home problem sets, and testsCriteriainclude appropriate header files for each desired library function and predefined identifier
-
Use operators in a programAssessment Strategiesin projects completed in lab and outside of classin classroom exercises, take-home problem sets, and testsCriteriause insertion operatoruse extraction operator >> with output streamsuse arithmetic operators (+, -, *, /, %) with integer (and where appropriate) floating point numbersuse assignment operators (=, +=, -=, *=, /=, %=) with appropriate data typesuse logical operators (&&, ||, !) to combine logical (T/F) expressionsuse relational operators (==, !=, =) with appropriate data typesuse ++ and -- in both prefix and postfix formuse parentheses to change the order of operations as required by the operator precedence table
-
Use looping statements in a programAssessment Strategiesin projects completed in lab and outside of classin classroom exercises, problem sets, quizzes, and testsCriteriause "for" loop appropriatelyuse "while" loop appropriatelyuse "do-while" loop appropriatelyanalyze problem to determine which type of loop to useuse nested loops to solve various problems (eg, sorting)
-
Use branching statements in a programAssessment Strategiesin projects completed in lab and outside of classin classroom exercises, problem sets, quizzes, and examsCriteriause "if" statement appropriatelyuse "if-else" statement appropriatelyuse nested "if-else" statements appropriatelyuse "switch" statement appropriatelyanalyze a problem to determine which branching type to useuse branching statements to solve a problem
-
Select control structures to implement an algorithmAssessment Strategiesin projects completed in lab and outside of classCriteriaembody algorithm in structure chart and/or flow chartdetermine which tasks require separate functions and what each function requires for input and outputselect looping and branching statements to accomplish repetitive and decision-making steps, respectively
-
Use functions in a programAssessment Strategiesin projects completed in lab and outside of classin quizzes and examsCriteriause predefined functions from librariesdeclare a function prototypedefine a function, including return type, value and reference parameters, and default values as appropriateoverload a function
-
Use arrays in a programAssessment Strategiesin projects completed in lab and outside of classin quizzes and examsCriteriadefine elements of a static arrayfill elements of a static arrayaccess elements of a static arraypass arrays as parameters in functions
-
Use strings in a programAssessment Strategiesin projects completed in lab and outside of classin quizzes and examsCriteriadefines a string.initializes a string.inserts a string into a stream.extracts a string from a stream.uses library functions from string.h (strcmp, strcpy, strlen, etc.)