Easy Programming Assignments

On By In 1

Introductory C Programming -- Assignments

Here are the problem sets I hand out during each of the eight weeks this class runs when I teach it in person. If you're out there on the net somewhere, unable to attend the class in person, feel free to follow along here!

Week 1

Topics: basics -- simple example programs
Assignment
Answers

Week 2

Topics: data types and constants; variables, identifiers, and declarations; operators and expressions
Assignment
Answers

Week 3

Topics: arrays, more about declarations (incl. initialization), functions
Assignment
Answers

Week 4

Topics: assignment, increment, and decrement operators; character I/O; strings
Assignment
Answers

Week 5

Topics: C preprocessor
Assignment
Answers

Week 6

Topics: pointers, strings
Assignment
Answers

Week 7

Topics: array/pointer equivalence, memory allocation, more about strings
Assignment
Answers

Week 8

Topics: command line, file I/O
One last handout: notes, Chapter 14

Java Programming Exercises, Practice, Solution

Java Exercises

Java is the foundation for virtually every type of networked application and is the global standard for developing and delivering embedded and mobile applications, games, Web-based content, and enterprise software. With more than 9 million developers worldwide, Java enables you to efficiently develop, deploy and use exciting applications and services.

The best way we learn anything is by practice and exercise questions. Here you have the opportunity to practice the Java programming language concepts by solving the exercises starting from basic to more complex exercises. A sample solution is provided for each exercise. It is recommended to do these exercises by yourself first before checking the solution.

Hope, these exercises help you to improve your Java programming coding skills. Currently, following sections are available, we are working hard to add more exercises .... Happy Coding!

Note: If you are not habituated with Java programming you can learn from the following :

More to Come !

Popularity of Programming Language
Worldwide, Mar 2018 compared to a year ago:

Source : http://pypl.github.io/PYPL.html

TIOBE Index for March 2018

Source : https://www.tiobe.com/tiobe-index/

List of Exercises with Solutions :

  • HTML CSS Exercises, Practice, Solution
  • JavaScript Exercises, Practice, Solution
  • jQuery Exercises, Practice, Solution
  • jQuery-UI Exercises, Practice, Solution
  • CoffeeScript Exercises, Practice, Solution
  • Twitter Bootstrap Exercises, Practice, Solution
  • C Programming Exercises, Practice, Solution
  • C# Sharp Programming Exercises, Practice, Solution
  • PHP Exercises, Practice, Solution
  • Python Exercises, Practice, Solution
  • Java Exercises, Practice, Solution
  • SQL Exercises, Practice, Solution
  • MySQL Exercises, Practice, Solution
  • PostgreSQL Exercises, Practice, Solution
  • SQLite Exercises, Practice, Solution
  • MongoDB Exercises, Practice, Solution
  • Euler Project

[ Want to contribute to Java exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]

0 comments

Leave a Reply

Your email address will not be published. Required fields are marked *