This course will introduce you to the field of computer science and the fundamentals of computer programming. Introduction to Computer Science I is specifically designed for students with no prior programming experience, and taking this course does not require a background in Computer Science. This course will touch upon a variety of fundamental topics within the field of Computer Science and will use Java, a high-level, portable, and well-constructed computer programming language developed by Sun Microsystems (now Oracle), to demonstrate those principles. We will begin with an overview of the course topics as well as a brief history of software development. We will cover basic object-oriented programming terminology and concepts such as objects, classes, inheritance, and polymorphism, as well as the fundamentals of Java, its primitive data types, relational operators, control statements, exception handling, and file input /output. By the end of the course, you should have a strong understanding of the fundamentals of Computer Science and the Java programming language. This course will lay the groundwork for a strong educational in Computer Science and a successful career devoted to implementing the principles you will learn as you progress through the CS discipline.
- Page: 1
We will begin this course by identifying our motivation for learning fundamental programming concepts and learning the history of programming languages in general. We will then discuss the hardware (the physical devices that make up the computer) and software (Operating Systems and applications that run on the computer) of a computer. We will conclude with a brief discussion of the Java programming language, which we will use throughout the rest of this course. By the end of this unit, you will have a strong understanding of the history of programming and be well prepared to learn about programming concepts in greater detail.Page: 1Quiz: 1
Java is an Object-Oriented programming language. Since Object-Oriented programming (OO) is currently one of the most popular programming paradigms, you will need to learn its fundamental concepts in order to build a career in Computer Science. This unit will begin with a discussion of what makes OO programming so unique, and why its advantages have made it the industry-standard paradigm for newly designed programs. We will then discuss the fundamental concepts of OO and relate them back to Java. By the end of this unit, you will have a strong understanding of what Object-Oriented programming is, how it relates to Java, and why it is employed.Page: 1Quiz: 1
Now that you have a basic understanding of OO programming, we will move on to the fundamental concepts of the programming language we will be studying this semester: Java. The Java-related concepts you will learn in this unit are in many cases directly transferable to a number of other languages. We will begin by learning about "Hello World,” a basic software application that simply prints "Hello World” to the screen as a means of demonstrating the most essential elements of a programming language, and will then move on to discuss the more fundamental concepts of variables, literals, data types, and operators. In addition, we will also learn about two different styles of adding comments to the code. By the end of this unit, you should have a fundamental understanding of Java basics and be prepared to utilize those concepts later in the course.Page: 1Quiz: 1
In this unit, we will discuss relational and logical operators in Java, which provide the foundation for topics like control structures (which we will further discuss in Unit 5). In this unit, we will start by taking a look at operator notation. We will then discuss relational operators as they apply to both numeric operands and object operands before concluding the unit with an introduction to logical operators. By the end of this unit, you should be able to perform comparisons and logic functions in Java and have a fundamental understanding of how they are employed.Page: 1Quiz: 1
Control structures dictate what the behavior of a program will be under what circumstances. Control structures belong to one of two families: those that test values and determine what code will be executed based on those values, and those that loop, performing identical operations multiple times. Control structures like if-then-else and switch the program to behave differently based on the data that they are fed. The while and for loops allow you to repeat a block of code as often as it is needed. As you can see, that functionality can be very useful when designing complex programs. This unit will introduce you to control structures and the ways in which they are used before moving on to discuss if, switch, while/do-while, and for loops. We will also discuss some advanced topics, such as nesting and scope. By the end of this unit, you should be able to draw from the information you learned in the previous unit to create a control structure, which will allow you to create more complex and useful programs.Page: 1Quiz: 1
In addition to the methods predefined in Java, we can write user-defined methods. In this unit, we will discuss how to name a method, declare a parameter list, and specify the return type. This unit introduces the scope of variables as well. By the end of this unit, you will have a strong understanding of how to define and call a method.Page: 1Quiz: 1
This unit discusses Arrays. An Array is a fixed-size data structure that allows elements of same data type to be stored in it. Each array element has a unique index associated with the value it stores. Arrays are commonly used in a loop structure such as for loops. In addition, this unit introduces two-dimensional arrays and its applications.Page: 1Quiz: 1
In this unit, we will discuss two important programming concepts in Java: input and output, and well as exception handling. Input and output techniques allow programmers to design more complex and useful programs. For this reason, you must fully understand how to use a programming language's built-in I/O (input/output) functionality. In this unit, we will discuss function I/O in Java before moving on to file I/O: both writing and reading data to and from files. Each unit will contain a discussion of the applicable Java classes, which are part of the standard programming language - FileWriter, PrintWriter, FileReader, BufferedReader, and IOException. We will then identify the common pitfalls and design concepts that you should keep in mind as a programmer. By the end of this unit, you will have a strong understanding of how to write and read from a file and how to write a Java program that performs these functions. Exception handling mechanism allows a program to continue executing, even if an error occurs in the program, instead of terminating it abruptly.Page: 1Quiz: 1
Please take a few moments to provide some feedback about this course at the link below. Consider completing the survey whether you have completed the course, you are nearly at that point, or you have just come to study one unit or a few units of this course.
Link: Optional Course Evaluation Survey (HTML)
Your feedback will focus our efforts to continually improve our course design, content, technology, and general ease-of-use. Additionally, your input will be considered alongside our consulting professors' evaluation of the course during its next round of peer review. As always, please report urgent course experience concerns to firstname.lastname@example.org and/or our Discourse forums.
- Quizzes: 2