• Java Course
  • Java Arrays
  • Java Strings
  • Java Collection
  • Java 8 Tutorial
  • Java Multithreading
  • Java Exception Handling
  • Java Programs
  • Java Project
  • Java Collections Interview
  • Java Interview Questions
  • Spring Boot

Java Exercises – Basic to Advanced Java Practice Programs with Solutions

Looking for Java exercises to test your Java skills, then explore our topic-wise Java practice exercises? Here you will get 25 plus practice problems that help to upscale your Java skills.

As we know Java is one of the most popular languages because of its robust and secure nature. But, programmers often find it difficult to find a platform for Java Practice Online. In this article, we have provided Java Practice Programs. That covers various Java Core Topics that can help users with Java Practice.

So, with ado further take a look at our free Java Exercises to practice and develop your Java programming skills. Our Java programming exercises Practice Questions from all the major topics like loops, object-oriented programming, exception handling, and many more.

Topic Wise Java Exercises List

  • Pattern Programs in Java
  • Array Programs in Java
  • String Programs in Java

Java Practice Problems for Searching Algorithms

Practice problems in java sorting algorithms, more java practice exercises.

Java Exercise

Java Practice Programs

This Java exercise is designed to deepen your understanding and refine your Java coding skills, these programs offer hands-on experience in solving real-world problems, reinforcing key concepts, and mastering Java programming fundamentals. Whether you’re a beginner who looking to build a solid foundation or a professional developer aiming to sharpen your expertise, our Java practice programs provide an invaluable opportunity to sharpen your craft and excel in Java programming language .

By diving into these exercises, you’ll not only reinforce key concepts but also gain the practical experience needed to tackle real-world problems effectively. This hands-on practice is essential for mastering Java fundamentals and advancing your career as a proficient Java developer. To further enhance your skills, consider enrolling in our Java Course . This course offers comprehensive lessons and practical exercises, making it an excellent resource for both beginners and experienced developers.

1. Write Hello World Program in Java

The solution to the Problem is mentioned below:

2. Write a Program in Java to Add two Numbers.

Click here for the solution, 3. write a program to swap two numbers, 4. write a java program to convert integer numbers and binary numbers., 5. write a program to find factorial of a number in java., 6. write a java program to add two complex numbers., 7. write a program to calculate simple interest in java, 8. write a program to print the pascal’s triangle in java, 9. write a program to find sum of fibonacci series number, java exercise on pattern.

Pattern Exercises in Java

10. Write a Program to Print Pyramid Number Pattern in Java.

11. write a java program to print pattern., 12. write a java program to print pattern., 13. java program to print patterns., array exercises in java.

Array Exercises in Java

14. Write a Java Program to Compute the Sum of Array Elements.

15. write a java program to find the largest element in array, 16. write java program to find the tranpose of matrix, 17. java array program for array rotation, 18. java array program to remove duplicate elements from an array, 19. java array program to remove all occurrences of an element in an array, string exercises in java.

Strings Exercises in Java

20. Java program to check whether a string is a Palindrome

21. java string program to check anagram, 22. java string program to reverse a string, 23. java string program to remove leading zeros.

Searching Exercises in Java

24. Write a Java Program for Linear Search.

Time Complexity: O(N) Space Complexity: O(N)

25. Write a Binary Search Program in Java.

Time Complexity: O(logN) Space Complexity: O(N)

Sorting_in_java

26. Java Program for Bubble Sort.

Time Complexity: O(N 2 ) Space Complexity: O(1)

27. Write a Program for Insertion Sort in Java.

28. java program for selection sort., 29. java program for merge sort..

Time Complexity: O(N logN) Space Complexity: O(N)

30. Java Program for QuickSort.

Time Complexity: O(N logN) Space Complexity: O(1)

After completing these Java exercises you are a step closer to becoming an advanced Java programmer. We hope these exercises have helped you understand Java better and you can solve beginner to advanced-level questions on Java programming.

Solving these Java programming exercise questions will not only help you master theory concepts but also grasp their practical applications, which is very useful in job interviews.

Java Array Exercise Java String Exercise Java Collection Exercise Click Here – To Practice Java Online please check our Practice Portal.

Java Exercise – FAQ

1. how to do java projects for beginners.

To do Java projects you need to know the fundamentals of Java programming. Then you need to select the desired Java project you want to work on. Plan and execute the code to finish the project. Some beginner-level Java projects include: Reversing a String Number Guessing Game Creating a Calculator Simple Banking Application Basic Android Application

2. Is Java easy for beginners?

As a programming language, Java is considered moderately easy to learn. It is unique from other languages due to its lengthy syntax. As a beginner, you can learn beginner to advanced Java in 6 to 18 months.

3. Why Java is used?

Java provides many advantages and uses, some of which are: Platform-independent Robust and secure Object-oriented Popular & in-demand Vast ecosystem

Please Login to comment...

Similar reads.

  • Java-Arrays
  • java-basics
  • Java-Data Types
  • Java-Functions
  • Java-Library
  • Java-Object Oriented
  • Java-Output
  • Java-Strings
  • Output of Java Program
  • PS5 Pro Launched: Controller, Price, Specs & Features, How to Pre-Order, and More
  • How to Make Money on Twitch
  • How to activate Twitch on smart TV
  • 105 Funny Things to Do to Make Someone Laugh
  • #geekstreak2024 – 21 Days POTD Challenge Powered By Deutsche Bank

Improve your Coding Skills with Practice

 alt=

What kind of Experience do you want to share?

  • ▼Java Exercises
  • ▼Java Basics
  • Basic Part-I
  • Basic Part-II
  • ▼Java Data Types
  • Java Enum Types
  • ▼Java Control Flow
  • Conditional Statement
  • Recursive Methods
  • ▼Java Math and Numbers
  • ▼Object Oriented Programming
  • Java Constructor
  • Java Static Members
  • Java Nested Classes
  • Java Inheritance
  • Java Abstract Classes
  • Java Interface
  • Java Encapsulation
  • Java Polymorphism
  • Object-Oriented Programming
  • ▼Exception Handling
  • Exception Handling Home
  • ▼Functional Programming
  • Java Lambda expression
  • ▼Multithreading
  • Java Thread
  • Java Multithreading
  • ▼Data Structures
  • ▼Strings and I/O
  • File Input-Output
  • ▼Date and Time
  • ▼Advanced Concepts
  • Java Generic Method
  • ▼Algorithms
  • ▼Regular Expressions
  • Regular Expression Home
  • ▼JavaFx Exercises
  • JavaFx Exercises Home
  • ..More to come..

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!

List of Java Exercises:

  • Basic Exercises Part-I [ 150 Exercises with Solution ]
  • Basic Exercises Part-II [ 99 Exercises with Solution ]
  • Methods [ 23 Exercises with Solution ]
  • Data Types Exercises [ 15 Exercises with Solution ]
  • Java Enum Types Exercises [ 5 Exercises with Solution ]
  • Conditional Statement Exercises [ 32 Exercises with Solution ]
  • Java recursive method Exercises [ 15 Exercises with Solution ]
  • Math [ 27 Exercises with Solution ]
  • Numbers [ 28 Exercises with Solution ]
  • Java Constructor Exercises [ 10 exercises with solution ]
  • Java Static Members Exercises [ 8 exercises with solution ]
  • Java Nested Classes Exercises [ 10 exercises with solution ]
  • Java Inheritance Exercises [ 9 exercises with solution ]
  • Java Abstract Classes Exercises [ 12 exercises with solution ]
  • Java Interface Exercises [ 11 exercises with solution ]
  • Java Encapsulation Exercises [ 14 exercises with solution ]
  • Java Polymorphism Exercises [ 12 exercises with solution ]
  • Object-Oriented Programming [ 30 Exercises with Solution ]
  • Exercises on handling and managing exceptions in Java [ 7 Exercises with Solution ]
  • Java Lambda expression Exercises [ 25 exercises with solution ]
  • Streams [ 8 Exercises with Solution ]
  • Java Thread Exercises [ 7 exercises with solution ]
  • Java Miltithreading Exercises [ 10 exercises with solution ]
  • Array [ 77 Exercises with Solution ]
  • Stack [ 29 Exercises with Solution ]
  • Collection [ 126 Exercises with Solution ]
  • String [ 107 Exercises with Solution ]
  • Input-Output-File-System [ 18 Exercises with Solution ]
  • Date Time [ 44 Exercises with Solution ]
  • Java Generic Methods [ 7 exercises with solution ]
  • Java Unit Test [ 10 Exercises with Solution ]
  • Search [ 7 Exercises with Solution ]
  • Sorting [ 19 Exercises with Solution ]
  • Regular Expression [ 30 Exercises with Solution ]
  • JavaFX [ 70 Exercises with Solution ]

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

  • Java Programming Language

More to Come !

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
  • R Programming 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

[ 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.]

Do not submit any solution of the above exercises at here, if you want to contribute go to the appropriate exercise page.

Follow us on Facebook and Twitter for latest update.

  • Weekly Trends and Language Statistics

Tutorials Class - Logo

  • C All Exercises & Assignments

Write a C program to check whether a number is even or odd

Description:

Write a C program to check whether a number is even or odd.

Note: Even number is divided by 2 and give the remainder 0 but odd number is not divisible by 2 for eg. 4 is divisible by 2 and 9 is not divisible by 2.

Conditions:

  • Create a variable with name of number.
  • Take value from user for number variable.

Enter the Number=9 Number is Odd.

Write a C program to swap value of two variables using the third variable.

You need to create a C program to swap values of two variables using the third variable.

You can use a temp variable as a blank variable to swap the value of x and y.

  • Take three variables for eg. x, y and temp.
  • Swap the value of x and y variable.

Write a C program to check whether a user is eligible to vote or not.

You need to create a C program to check whether a user is eligible to vote or not.

  • Minimum age required for voting is 18.
  • You can use decision making statement.

Enter your age=28 User is eligible to vote

Write a C program to check whether an alphabet is Vowel or Consonant

You need to create a C program to check whether an alphabet is Vowel or Consonant.

  • Create a character type variable with name of alphabet and take the value from the user.
  • You can use conditional statements.

Enter an alphabet: O O is a vowel.

Write a C program to find the maximum number between three numbers

You need to write a C program to find the maximum number between three numbers.

  • Create three variables in c with name of number1, number2 and number3
  • Find out the maximum number using the nested if-else statement

Enter three numbers: 10 20 30 Number3 is max with value of 30

Write a C program to check whether number is positive, negative or zero

You need to write a C program to check whether number is positive, negative or zero

  • Create variable with name of number and the value will taken by user or console
  • Create this c program code using else if ladder statement

Enter a number : 10 10 is positive

Write a C program to calculate Electricity bill.

You need to write a C program to calculate electricity bill using if-else statements.

  • For first 50 units – Rs. 3.50/unit
  • For next 100 units – Rs. 4.00/unit
  • For next 100 units – Rs. 5.20/unit
  • For units above 250 – Rs. 6.50/unit
  • You can use conditional statements.

Enter the units consumed=278.90 Electricity Bill=1282.84 Rupees

Write a C program to print 1 to 10 numbers using the while loop

You need to create a C program to print 1 to 10 numbers using the while loop

  • Create a variable for the loop iteration
  • Use increment operator in while loop

1 2 3 4 5 6 7 8 9 10

  • C Exercises Categories
  • C Top Exercises
  • C Decision Making

35 Python Programming Exercises and Solutions

To understand a programming language deeply, you need to practice what you’ve learned. If you’ve completed learning the syntax of Python programming language, it is the right time to do some practice programs.

1. Python program to check whether the given number is even or not.

2. python program to convert the temperature in degree centigrade to fahrenheit, 3. python program to find the area of a triangle whose sides are given, 4. python program to find out the average of a set of integers, 5. python program to find the product of a set of real numbers, 6. python program to find the circumference and area of a circle with a given radius, 7. python program to check whether the given integer is a multiple of 5, 8. python program to check whether the given integer is a multiple of both 5 and 7, 9. python program to find the average of 10 numbers using while loop, 10. python program to display the given integer in a reverse manner, 11. python program to find the geometric mean of n numbers, 12. python program to find the sum of the digits of an integer using a while loop, 13. python program to display all the multiples of 3 within the range 10 to 50, 14. python program to display all integers within the range 100-200 whose sum of digits is an even number, 15. python program to check whether the given integer is a prime number or not, 16. python program to generate the prime numbers from 1 to n, 17. python program to find the roots of a quadratic equation, 18. python program to print the numbers from a given number n till 0 using recursion, 19. python program to find the factorial of a number using recursion, 20. python program to display the sum of n numbers using a list, 21. python program to implement linear search, 22. python program to implement binary search, 23. python program to find the odd numbers in an array, 24. python program to find the largest number in a list without using built-in functions, 25. python program to insert a number to any position in a list, 26. python program to delete an element from a list by index, 27. python program to check whether a string is palindrome or not, 28. python program to implement matrix addition, 29. python program to implement matrix multiplication, 30. python program to check leap year, 31. python program to find the nth term in a fibonacci series using recursion, 32. python program to print fibonacci series using iteration, 33. python program to print all the items in a dictionary, 34. python program to implement a calculator to do basic operations, 35. python program to draw a circle of squares using turtle.

For practicing more such exercises, I suggest you go to  hackerrank.com  and sign up. You’ll be able to practice Python there very effectively.

I hope these exercises were helpful to you. If you have any doubts, feel free to let me know in the comments.

Happy coding.

12 thoughts on “ 35 Python Programming Exercises and Solutions ”

I don’t mean to nitpick and I don’t want this published but you might want to check code for #16. 4 is not a prime number.

You can only check if integer is a multiple of 35. It always works the same – just multiply all the numbers you need to check for multiplicity.

v_str = str ( input(‘ Enter a valid string or number :- ‘) ) v_rev_str=” for v_d in v_str: v_rev_str = v_d + v_rev_str

Leave a Reply Cancel reply

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

Recent Posts

Python Programming

Python Object-Oriented Programming (OOP) Exercise: Classes and Objects Exercises

Updated on:  December 8, 2021 | 52 Comments

This Object-Oriented Programming (OOP) exercise aims to help you to learn and practice OOP concepts. All questions are tested on Python 3.

Python Object-oriented programming (OOP) is based on the concept of “objects,” which can contain data and code: data in the form of instance variables (often known as attributes or properties), and code, in the form method. I.e., Using OOP, we encapsulate related properties and behaviors into individual objects.

What is included in this Python OOP exercise?

This OOP classes and objects exercise includes 8 different programs, questions, and challenges. All solutions are tested on Python 3.

This OOP exercise covers questions on the following topics :

  • Class and Object creation
  • Instance variables and Methods, and Class level attributes
  • Model systems with class inheritance i.e., inherit From Other Classes
  • Parent Classes and Child Classes
  • Extend the functionality of Parent Classes using Child class
  • Object checking

When you complete each question, you get more familiar with the Python OOP. Let us know if you have any alternative solutions . It will help other developers.

Use Online Code Editor to solve exercise questions.

  • Guide on Python OOP
  • Inheritance in Python

Table of contents

Oop exercise 1: create a class with instance attributes, oop exercise 2: create a vehicle class without any variables and methods, oop exercise 3: create a child class bus that will inherit all of the variables and methods of the vehicle class, oop exercise 4: class inheritance, oop exercise 5: define a property that must have the same value for every class instance (object), oop exercise 6: class inheritance, oop exercise 7: check type of an object, oop exercise 8: determine if school_bus is also an instance of the vehicle class.

Write a Python program to create a Vehicle class with max_speed and mileage instance attributes.

  • Classes and Objects in Python
  • Instance variables in Python

Create a Bus object that will inherit all of the variables and methods of the parent Vehicle class and display it.

Expected Output:

Refer : Inheritance in Python

Create a Bus class that inherits from the Vehicle class. Give the capacity argument of Bus.seating_capacity() a default value of 50.

Use the following code for your parent Vehicle class.

Expected Output :

  • Polymorphism in Python
  • First, use method overriding.
  • Next, use default method argument in the seating_capacity() method definition of a bus class.

Define a class attribute” color ” with a default value white . I.e., Every Vehicle should be white.

Use the following code for this exercise.

Refer : Class Variable in Python

Define a color as a class variable in a Vehicle class

Variables created in .__init__() are called  instance variables . An instance variable’s value is specific to a particular instance of the class. For example, in the solution, All Vehicle objects have a name and a max_speed, but the name and max_speed variables’ values will vary depending on the Vehicle instance.

On the other hand, the class variable is shared between all class instance s. You can define a class attribute by assigning a value to a variable name outside of  .__init__() .

Create a Bus child class that inherits from the Vehicle class. The default fare charge of any vehicle is seating capacity * 100 . If Vehicle is Bus instance, we need to add an extra 10% on full fare as a maintenance charge. So total fare for bus instance will become the final amount = total fare + 10% of the total fare.

Note: The bus seating capacity is 50 . so the final fare amount should be 5500. You need to override the fare() method of a Vehicle class in Bus class.

Use the following code for your parent Vehicle class. We need to access the parent class from inside a method of a child class.

Write a program to determine which class a given Bus object belongs to.

Use Python’s built-in function type() .

Use isinstance() function

Did you find this page helpful? Let others know about it. Sharing helps me continue to create free Python resources.

About Vishal

programming assignment questions

I’m  Vishal Hule , the Founder of PYnative.com. As a Python developer, I enjoy assisting students, developers, and learners. Follow me on  Twitter .

Related Tutorial Topics:

Python exercises and quizzes.

Free coding exercises and quizzes cover Python basics, data structure, data analytics, and more.

  • 15+ Topic-specific Exercises and Quizzes
  • Each Exercise contains 10 questions
  • Each Quiz contains 12-15 MCQ

Loading comments... Please wait.

About PYnative

PYnative.com is for Python lovers. Here, You can get Tutorials, Exercises, and Quizzes to practice and improve your Python skills .

Explore Python

  • Learn Python
  • Python Basics
  • Python Databases
  • Python Exercises
  • Python Quizzes
  • Online Python Code Editor
  • Python Tricks

To get New Python Tutorials, Exercises, and Quizzes

Legal Stuff

We use cookies to improve your experience. While using PYnative, you agree to have read and accepted our Terms Of Use , Cookie Policy , and Privacy Policy .

Copyright © 2018–2024 pynative.com

Codeforwin

C programming examples, exercises and solutions for beginners

Fundamentals.

  • Hello world program in C
  • Basic input/output
  • Basic IO on all data types
  • Perform arithmetic operations
  • Find area and perimeter of rectangle
  • Find diameter and area of circle
  • Find area of triangle
  • Find angles of triangle
  • Temperature conversion
  • Length conversion
  • Days conversion
  • Find power of a number
  • Find square root
  • Calculate simple interest
  • Calculate compound interest
  • Find range of data types

Bitwise Operator

  • Check Least Significant Bit (LSB)
  • Check Most Significant Bit (MSB)
  • Get nth bit of a number
  • Set nth bit of a number
  • Clear nth bit of a number
  • Toggle nth bit of a number
  • Highest set bit of a number
  • Lowest set bit of a number
  • Count trailing zeros of binary number
  • Count leading zeros of binary number
  • Flip bits of a number
  • Rotate bits of a number
  • Decimal to binary
  • Swap two numbers
  • Check even or odd
  • View all Bitwise operator examples →

Ternary Operator

  • Maximum of two numbers
  • Maximum of three numbers
  • Check leap year
  • Check alphabet
  • View all ternary operator examples →
  • Find maximum of two numbers
  • Find maximum of three numbers
  • Check negative, positive or zero
  • Check divisibility
  • Check alphabet character
  • Check vowel or consonant
  • Check alphabet, digit or special character
  • Check uppercase or lowercase
  • Print day of week
  • Find number of days in month
  • Find roots of quadratic equation
  • Calculate profile/loss
  • View all if else examples →

Switch case

  • Find total days in month
  • Check positive, negative or zero
  • Simple calculator application
  • View all switch case examples →

Loop/Iteration

  • Print natural numbers from 1 to n
  • Print alphabets from a to z
  • Print even numbers from 1 to n
  • Print sum of all numbers from 1 to n
  • Print sum of all odd numbers from 1 to n
  • Print multiplication table of n
  • Find number of digits in a number
  • Find first and last digit
  • Find sum of first and last digit
  • Swap first and last digit
  • Find sum of digits of a number
  • Find reverse of a number
  • Find frequency of digits in a number
  • Find power of a number using loop
  • Find factorial of a number
  • Find HCF of two numbers
  • Find LCM of two numbers
  • View all loop examples →

Number system and conversion

  • Find one's complement
  • Find two's complement
  • Binary to octal conversion
  • Binary to decimal conversion
  • Binary to hexadecimal conversion
  • Octal to binary conversion
  • Octal to decimal conversion
  • Octal to hexadecimal conversion
  • Decimal to binary conversion
  • Decimal to octal conversion
  • Decimal to hexadecimal conversion
  • Hexadecimal to binary conversion
  • Hexadecimal to octal conversion
  • Hexadecimal to decimal conversion
  • View all conversion examples →

Star patterns

  • Pascal triangle generation
  • Square star pattern
  • Hollow square star pattern
  • Hollow square star pattern with diagonal
  • Rhombus star pattern
  • Hollow rhombus star pattern
  • Right triangle star pattern
  • Hollow right triangle star pattern
  • Inverted right triangle star pattern
  • Mirrored inverted right triangle star pattern
  • Pyramid star pattern
  • Inverted pyramid star pattern
  • Diamond star pattern
  • Plus starpattern
  • X star pattern
  • 8 star pattern
  • Heart star with name pattern
  • View all star pattern examples →

Number patterns

  • Square number pattern
  • Right triangle number pattern
  • Inverted right triangle
  • Triangle with zero filled
  • Half diamond pattern
  • Half diamond star bordered pattern
  • X number pattern
  • View all number pattern examples →
  • Find cube using functions
  • Diameter & area of circle using functions
  • Maximum and minimum using functions
  • Check even odd using functions
  • Check Prime number using functions
  • Find all prime numbers using functions
  • Find all strong numbers using functions
  • Find all armstrong numbers using functions
  • Find all perfect numbers using functions
  • View all function examples →
  • Find power using recursion
  • Print natural numbers using recursion
  • Print even numbers using recursion
  • Sum of natural numbers using recursion
  • Sum of even/odd numbers using recursion
  • Find reverse using recursion
  • Check palindrome using recursion
  • Find sum of digits using recursion
  • Find factorial using recursion
  • Generate nth Fibonacci term using recursion
  • Find HCF (GCD) using recursion
  • Find LCM using recursion
  • Sum of array elements using recursion
  • View all recursion examples →
  • Input and display array elements
  • Sum of all array elements
  • Find second largest element in array
  • Copy one array to another
  • Insert new element in array
  • Delete an element from array
  • Find frequency of array elements
  • Merge two array to third array
  • Delete duplicate elements from array
  • Reverse an array
  • Search an element in array
  • Sort an array
  • Left rotate an array
  • Right rotate an array
  • View all array examples →

Matrix (2D array)

  • Add two matrices
  • Scalar matrix multiplication
  • Multiply two matrices
  • Check if two matrices are equal
  • Sum of diagonal elements of matrix
  • Interchange diagonal of matrix
  • Find upper triangular matrix
  • Find sum of lower triangular matrix
  • Find transpose of triangular matrix
  • Find determinant of a matrix
  • Check identity matrix
  • Check sparse matrix
  • Check symmetric matrix
  • View all matrix examples →
  • Find length of string
  • Copy string to another string
  • Concatenate two strings
  • Compare two strings
  • Convert lowercase to uppercase
  • Find reverse of a string
  • Check palindrome
  • Reverse order of words
  • Search a character in string
  • Search a word in string
  • Find highest occurring character
  • Remove all duplicate characters
  • Replace a character in string
  • Trim whitespace from string
  • View all string examples →
  • Create, initialize and use pointer
  • Add two numbers using pointers
  • Swap two numbers using pointers
  • Access array using pointers
  • Copy array using pointers
  • Reverse array using pointers
  • Access 2D array using pointers
  • Multiply matrices using pointers
  • Copy strings using pointers
  • Concatenate strings using pointers
  • Compare strings using pointers
  • Reverse strings using pointers
  • Sort array strings using pointers
  • Return multiple values from function using pointers
  • View all pointers examples →
  • Create file and write contents
  • Read file contents and display
  • Append contents to file
  • Compare two files
  • Copy one file to another
  • Merge two files
  • Remove a word from file
  • Remove a line from file
  • Replace a word in file
  • Replace a line in file
  • Print source code
  • Convert uppercase to lowercase in file
  • Find properties of file
  • Check if file or directory exists
  • Rename a file or directory
  • List of files recursively
  • View all files handling examples →

Macros/Pre-processor directives

  • Create custom header file
  • Define, undefine and redefine a macro
  • Find sum using macro
  • Find square and cube using macro
  • Check even/odd using macro
  • Find maximum or minimum using macro
  • Check lowercase/uppercase using macro
  • Swap two numbers using macro
  • Multiline macros

Browse Course Material

Course info, instructors.

  • Dr. Ana Bell
  • Prof. Eric Grimson
  • Prof. John Guttag

Departments

  • Electrical Engineering and Computer Science

As Taught In

  • Algorithms and Data Structures
  • Programming Languages

Learning Resource Types

Introduction to computer science and programming in python, assignments.

Note: The links provided to the software may no longer work. You can download the current and previous versions of Anaconda and Python from their respective sites. This course is based on Python 3.5. See the Anaconda for Python 3.5 FAQ .

Please review the 6.0001 Style Guide (PDF) before attempting the problem sets. If you need additional help, please consult the 6.0001 list of Programming Resources (PDF) . Solutions are not available.

Problem Set 0 (ZIP - 2.0MB) (This file contains: 1 .py file and 2 .pdf files.)

Problem Set 1 (PDF)

Problem Set 2 (ZIP) (This file contains: 1 .txt file, 1 .py file and 1 .pdf file.)

Problem Set 3 (ZIP) (This file contains: 1 .pdf file, 2 .py files and 1 .txt file.)

Problem Set 4 (ZIP) (This file contains: 1 .pdf file, 3 .py files and  2 .txt files.)

Problem Set 5 (ZIP) (This file contains: 5 .py files, 1 .pdf file and 1 .txt file.)

facebook

You are leaving MIT OpenCourseWare

22 Coding Interview Questions Every Developer Should Know

HackerRank AI Promotion

Coding tests have been the backbone of technical hiring for decades. If you’re a web developer, programmer, or engineer on the job market, your ability to demonstrate your skills in a coding interview is critical to landing your next role. 

The key to succeeding in these interviews is preparing well for the styles of problems you might encounter. In this post, we’ll break down four categories of coding interview questions you could face — and 22 sample questions to help you start preparing.

Web Developer Interview Questions: An Overview

Coding interview questions  — sometimes called coding challenges — ask developers to write code to find an answer to a problem. Depending on the role and company, coding questions can be language-specific or allow developers to respond in their coding language of choice. Often, these questions are asked directly via an in-browser IDE that  provides developers with the tools they need  to provide a solution in full.

While coding questions come in a variety of formats, the strategies for answering them are similar. As you write your code, you’ll be expected to explain your solution to the hiring team. They’ll typically give you real-time feedback on the efficacy, complexity, and accuracy of your solution.

It’s important to keep in mind that a “correct” answer isn’t always enough to pass a coding interview. That’s because the approach also allows hiring teams to assess your technical communication, your code quality, and the efficiency of the solution.

Examples of coding tests include: 

  • Take-home tests sent during screening
  • Multiple-choice tests
  • Project-based tests 
  • Pair-programming in a virtual IDE

This part of the process is highly variable, with hiring managers able to choose from a number of formats on how to evaluate technical skills. Programmers will need to carefully prepare to ensure they can adapt to a variety of challenges.

Types of Coding Interview Questions

There are a number of different types of coding questions employers can use to evaluate a programmer’s coding skills. The difficulty and composition of these tests will vary based on the experience-level of the role. 

Generally, the more experienced a developer is, the more ambiguous and challenging the questions they will be asked. For example, candidates for entry-level roles might complete coding questions that test execution of predefined problems. In contrast, questions for senior roles can become more open-ended, writing code for problems without predefined solutions. 

The following is a list of the types of coding questions a programmer might encounter during a technical interview.

Algorithm questions are foundational to the technical interview. They test a candidate’s coding skills and ability to solve problems with algorithms in a programming language of their choice.

Sample Question : The Efficient Janitor

The janitor of a high school is extremely efficient. By the end of each day, all of the school’s waste is in plastic bags weighing between 1.01 pounds and 3.00 pounds. All plastic bags are then taken to the trash bins outside. One trip is described as selecting a number of bags which together do not weigh more than 3.00 pounds, dumping them in the outside trash can and returning to the school. Given the number of plastic bags, and the weights of each bag, determine the minimum number of trips the janitor has to make.

This problem tests the candidate’s ability to use two pointers to search for pairs in an assorted array.

More algorithm coding questions:

  • Given an array of integers, find the sum of its elements. For example, if ar = [1, 2, 3] , 1 + 2 + 3 = 6. So, return 6.
  • Given a square matrix, calculate the absolute difference between the sums of its diagonals. For example, the square matrix ar = [1, 2, 3, 4, 5, 6 , 7, 8, 9 ], arranged in a 3×3 grid resembling a phone keypad.
  • You are in charge of the cake for a child’s birthday. You have decided the cake will have one candle for each year of their total age. They will only be able to blow out the tallest of the candles. Count how many candles are tallest. For example, in the array candles = [4, 4, 1, 3] , return 2.
  • Given a time in 12-hour AM/PM format, convert it to 24-hour military time. 12:00:00AM on a 12-hour clock is 00:00:00 on a 24-hour clock. 12:00:00PM on a 12-hour clock is 12:00:00 on a 24-hour clock. For example, if s = 12:01:00AM , return 00:01:00 .

Data Structures

Data structures are a fundamental concept of computer science and any programming language. Essential for algorithmic design, programmers use data structures for the efficient organization and modification of data.

Sample Question: Binary Search Tree

You are given a pointer to the root of a binary search tree and values to be inserted into the tree. Insert the values into their appropriate position in the binary search tree and return the root of the updated binary tree. You just have to complete the function.

A binary search tree is a rooted binary tree data structure with internal nodes that each store a key less than all the keys in its right subtree and greater than all the keys in the node’s left subtree.

This question tests a programmer’s ability to work with data structures to solve problems.

More data structure questions:

  • Delete the node at a given position in a linked list and return a reference to the head node. The head is at position 0.
  • You are given the pointer to the head node of a linked list and an integer to add to the list. Create a new node with the given integer. Insert this node at the tail of the linked list and return the head node of the linked list formed after inserting this new node. The given head pointer may be null, meaning that the initial list is empty.
  • Given a pointer to the head node of a linked list, print each node’s  element, one per line. If the head pointer is null (indicating the list is empty), there is nothing to print.
  • A linked list is said to contain a cycle if any node is visited more than once while traversing the list. Given a pointer to the head of a linked list, determine if it contains a cycle. If it does, return 1. Otherwise, return 0.

An array is a data structure containing elements identified by one or more indexes or keys. Arrays are a fundamental data structure, making them a favorite of interviewers looking to test programmers coding skill. Because the size of an array can’t change, solving this style of question requires finding the optimal way to either rearrange or copy the array into the correct result.

Sample Question: Automated Cutting Machine

An automated cutting machine is used to cut rods into segments. The cutting machine can only hold a rod of minLength or more. A rod is marked with the necessary cuts and their lengths are given as an array in the order they are marked. Determine if it is possible to plan the cuts so the last cut is from a rod at least minLength units long.

This problem tests a programmer’s ability to use arrays, along with loops and greedy algorithms. It requires the programmer to come up with an algorithm to check if an array of given lengths of the rod can be cut from left and right exactly n – 1 time and the remaining size of the rod is at least minLength in a constrained time and space complexity.

More array coding questions:

  • Write a program to check if two arrays are equal.
  • How do you find the smallest and largest numbers in an unsorted array? 
  • There is a collection of input strings and a collection of query strings. For each query string, determine how many times it occurs in the list of input strings. Return an array of the results.
  • A left rotation operation on an array of size n shifts each of the array’s elements unit to the left. Given an integer, d , rotate the array that many steps left and return the result.
  • Starting with a 1-indexed array of zeros and a list of operations, for each operation add a value to each the array element between two given indices, inclusive. Once all operations have been performed, return the maximum value in the array.

Language-Specific Problems

Most coding questions aren’t specific to a particular programming language, allowing a programmer to write code in their language of choice. However, some coding interviews will have questions that test a specific language required by the role.

Sample Question: Enhanced Flexible Grid

Languages: JavaScript, CSS

Create a flexible grid with 1 row and 4 columns. The width of each column is 25% of the window size. This percentage width must be maintained even if the page is resized. Each cell of the grid can contain another 1×4 flexible grid. The border of the grid must be 1px black.

Perform the following operations based on the value of window size:

  • If the window size is less than 720px, then the 1×4 flexible grid becomes a 2×2 grid. That is, the 3rd and 4th columns slide down onto the 2nd row.
  • If the window size is less than 360px, then the 1×4 flexible grid becomes 4×1 grid. Each column slides under the one before it. The 2nd column slides under the 1st, the 3rd slides under the 2nd, and the 4th slides under the 3rd.

This question tests a developer’s ability to write code in JS and CSS and build UI elements. Essential to responsive design, a flexible grid tests a candidate’s ability to perform a task required by a role in front-end development.

More language-specific coding questions:

  • A hacker practices on HackerRank until getting to a rating of O(1) read as (Oh-one) . Call the method coder.practice until coder.oh_one? becomes true. Use the until control structure. until is the logical equivalent of while not. This challenge has a one-line answer. (Language: Ruby)
  • Write a function int max_of_four(int a, int b, int c, int d) which reads four arguments and returns the greatest of them. There is not a built-in max function in C. Code that will be reused is often put in a separate function, e.g. int max(x, y) that returns the greater of the two values. Input will contain four integers – a, b, c, d – one on each line. Note: I/O will be automatically handled. (Language: C)
  • The opening tags follow the format: <tag-name attribute1-name = “value1” attribute2-name = “value2” …>.   
  • The closing tags follow the format: </tag-name> . 
  • The attributes are referenced as: tag1~value, tag1.tag2~name
  • Given the source code in HRML format consisting of N lines, answer Q queries. For each query, print the value of the attribute specified. Print “Not Found!” if the attribute does not exist.
  • If n is odd, print Weird
  • If n is even and in the inclusive range of 2 to 5, print Not Weird
  • If n is even and in the inclusive range of 6 to 20, print Weird
  • If n is even and greater than 20, print Not Weird
  • Input format: a single line containing a positive integer n. Constraints: 1 <= n <= 100.
  • (Language: Java)

Resources to Prepare for Web Developer Interviews

HackerRank for Developers

15 Common Problem-Solving Interview Questions

Software Engineering Questions to Know in 2022

7 System Design Interview Questions Every Software Engineer Should Know

What Does a Software Developer Do? Role Overview and Skill Expectations

Get started with HackerRank

Over 2,500 companies and 40% of developers worldwide use HackerRank to hire tech talent and sharpen their skills.

programming assignment questions

Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

Notes, programming assignments and quizzes from all courses within the Coursera Deep Learning specialization offered by deeplearning.ai: (i) Neural Networks and Deep Learning; (ii) Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization; (iii) Structuring Machine Learning Projects; (iv) Convolutional Neural Network…

amanchadha/coursera-deep-learning-specialization

Folders and files.

NameName
64 Commits

Repository files navigation

Deep learning specialization on coursera (offered by deeplearning.ai).

Programming assignments and quizzes from all courses in the Coursera Deep Learning specialization offered by deeplearning.ai .

Instructor: Andrew Ng

For detailed interview-ready notes on all courses in the Coursera Deep Learning specialization, refer www.aman.ai .

Run setup.sh to (i) download a pre-trained VGG-19 dataset and (ii) extract the zip'd pre-trained models and datasets that are needed for all the assignments.

This repo contains my work for this specialization. The code base, quiz questions and diagrams are taken from the Deep Learning Specialization on Coursera , unless specified otherwise.

2021 Version

This specialization was updated in April 2021 to include developments in deep learning and programming frameworks, with the biggest change being shifting from TensorFlow 1 to TensorFlow 2. This repo has been updated accordingly as well.

Programming Assignments

Course 1: neural networks and deep learning.

  • Week 2 - PA 1 - Python Basics with Numpy
  • Week 2 - PA 2 - Logistic Regression with a Neural Network mindset
  • Week 3 - PA 3 - Planar data classification with one hidden layer
  • Week 4 - PA 4 - Building your Deep Neural Network: Step by Step
  • Week 4 - PA 5 - Deep Neural Network for Image Classification: Application

Course 2: Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization

  • Week 1 - PA 1 - Initialization
  • Week 1 - PA 2 - Regularization
  • Week 1 - PA 3 - Gradient Checking
  • Week 2 - PA 4 - Optimization Methods
  • Week 3 - PA 5 - TensorFlow Tutorial

Course 3: Structuring Machine Learning Projects

  • There are no programming assignments for this course. But this course comes with very interesting case study quizzes (below).

Course 4: Convolutional Neural Networks

  • Week 1 - PA 1 - Convolutional Model: step by step
  • Week 1 - PA 2 - Convolutional Neural Networks: Application
  • Week 2 - PA 1 - Keras - Tutorial - Happy House
  • Week 2 - PA 2 - Residual Networks
  • Week 2 - PA 2 - Transfer Learning with MobileNet
  • Week 3 - PA 1 - Car detection with YOLO for Autonomous Driving
  • Week 3 - PA 2 - Image Segmentation Unet
  • Week 4 - PA 1 - Art Generation with Neural Style Transfer
  • Week 4 - PA 2 - Face Recognition

Course 5: Sequence Models

  • Week 1 - PA 1 - Building a Recurrent Neural Network - Step by Step
  • Week 1 - PA 2 - Dinosaur Land -- Character-level Language Modeling
  • Week 1 - PA 3 - Jazz improvisation with LSTM
  • Week 2 - PA 1 - Word Vector Representation and Debiasing
  • Week 2 - PA 2 - Emojify!
  • Week 3 - PA 1 - Neural Machine Translation with Attention
  • Week 3 - PA 2 - Trigger Word Detection
  • Week 4 - PA 1 - Transformer Network
  • Week 3 - PA 2 - Transformer Network Application: Named-Entity Recognition
  • Week 3 - PA 2 - Transformer Network Application: Question Answering

Quiz Solutions

  • Week 1 Quiz - Introduction to deep learning: Text | PDF
  • Week 2 Quiz - Neural Network Basics: Text | PDF
  • Week 3 Quiz - Shallow Neural Networks: Text | PDF
  • Week 4 Quiz - Key concepts on Deep Neural Networks: Text | PDF
  • Week 1 Quiz - Practical aspects of deep learning: Text | PDF
  • Week 2 Quiz - Optimization algorithms: Text | PDF
  • Week 3 Quiz - Hyperparameter tuning, Batch Normalization, Programming Frameworks: Text | PDF
  • Week 1 Quiz - Bird recognition in the city of Peacetopia (case study): Text | PDF
  • Week 2 Quiz - Autonomous driving (case study): Text | PDF
  • Week 1 Quiz - The basics of ConvNets: Text | PDF
  • Week 2 Quiz - Deep convolutional models: Text | PDF
  • Week 3 Quiz - Detection algorithms: Text | PDF
  • Week 4 Quiz - Special applications: Face recognition & Neural style transfer: Text | PDF
  • Week 1 Quiz - Recurrent Neural Networks: Text | PDF
  • Week 2 Quiz - Natural Language Processing & Word Embeddings: PDF
  • Week 3 Quiz - Sequence models & Attention mechanism: Text | PDF

I recognize the time people spend on building intuition, understanding new concepts and debugging assignments. The solutions uploaded here are only for reference . They are meant to unblock you if you get stuck somewhere. Please do not copy any part of the code as-is (the programming assignments are fairly easy if you read the instructions carefully). Similarly, try out the quizzes yourself before you refer to the quiz solutions. This course is the most straight-forward deep learning course I have ever taken, with fabulous course content and structure. It's a treasure by the deeplearning.ai team.

Contributors 9

@amanchadha

  • Jupyter Notebook 98.6%

IMAGES

  1. Programming Solution Unit 3

    programming assignment questions

  2. Programming Assignment In this assignment, you will

    programming assignment questions

  3. Solved This programming assignment is to be completed by

    programming assignment questions

  4. Solved Programming assignments The programming assignments

    programming assignment questions

  5. SOLUTION: Unit 4 programming assignment

    programming assignment questions

  6. Unit 4 Programming Assignment Solution

    programming assignment questions

VIDEO

  1. Week 7 Programming Assignment 1 .. Programming in java Nptel

  2. Week 7 Programming Assignment 2 programming in java nptel

  3. Programming in C 2nd sem question paper for BSC Computer Science

  4. Lesson-3 EDX Java Programming Fundamentals #edx #java #ontimeupdates #coding

  5. 2. Week

  6. Advanced R Programming for Data Analytics in Business NPTEL week 3 assignment 3 answers

COMMENTS

  1. C Exercises

    This C Exercise page contains the top 30 C exercise questions with solutions that are designed for both beginners and advanced programmers. It covers all major concepts like arrays, pointers, for-loop, and many more. So, Keep it Up! Solve topic-wise C exercise questions to strengthen your weak topics.

  2. Problems

    Our platform offers a range of essential problems for practice, as well as the latest questions being asked by top-tier companies. Explore; Problems; Contest; Discuss; Interview. Store Study Plan. See all. Array 1737. String 721. Hash Table 625. Dynamic Programming 528. Math 522. Sorting 414. Greedy 380. Depth-First Search 295. Database 283 ...

  3. Python Exercises, Practice, Challenges

    These free exercises are nothing but Python assignments for the practice where you need to solve different programs and challenges. All exercises are tested on Python 3. Each exercise has 10-20 Questions. The solution is provided for every question. These Python programming exercises are suitable for all Python developers.

  4. C programming Exercises, Practice, Solution

    C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs.

  5. Assignments

    This section provides the course assignments, supporting files, and solutions. Browse Course Material Syllabus Calendar Lecture Notes Labs ... assignment_turned_in Programming Assignments with Examples. Download Course. Over 2,500 courses & materials Freely sharing knowledge with learners and educators around the world.

  6. Online Coding Practice Problems & Challenges

    Practice over 5000+ problems in coding languages like Python, Java, JavaScript, C++, SQL and HTML. Start with beginner friendly challenges and solve hard problems as you become better. Use these practice problems and challenges to prove your coding skills.

  7. Python Exercise with Practice Questions and Solutions

    C# is the most popular general-purpose programming language and was developed by Microsoft in 2000, renowned for its robustness, flexibility, and extensive application range. It is simple and has an object-oriented programming concept that can be used for creating different types of applications. Here, we will provide 50+ C# Interview Questions and

  8. Java Exercises

    Java is one of the most popular and widely used programming language and a platform that was developed by James Gosling in the year 1982. It is based on the concept of Object-oriented Programming. A platform is an environment in that develops and runs programs written in any programming language. Java is a high-level, object-oriented, secure, robus

  9. Java programming Exercises, Practice, Solution

    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 ...

  10. C All Exercises & Assignments

    Write a C program to check whether a number is even or odd . Description: Write a C program to check whether a number is even or odd.. Note: Even number is divided by 2 and give the remainder 0 but odd number is not divisible by 2 for eg. 4 is divisible by 2 and 9 is not divisible by 2.

  11. 35 Python Programming Exercises and Solutions

    If you've completed learning the syntax of Python programming language, it is the right time to do some practice programs. ... Please who can help me with this question asap . A particular cell phone plan includes 50 minutes of air time and 50 text messages for $15.00 a month. Each additional minute of air time costs $0.25, while additional ...

  12. Python OOP Exercise

    This Object-Oriented Programming (OOP) exercise aims to help you to learn and practice OOP concepts. All questions are tested on Python 3. Python Object-oriented programming (OOP) is based on the concept of "objects," which can contain data and code: data in the form of instance variables (often known as attributes or properties), and code, in the form method.

  13. Programming tutorials, Coding problems, and Practice questions

    Functional Programming. Practice programming skills with tutorials and practice problems of Basic Programming, Data Structures, Algorithms, Math, Machine Learning, Python. HackerEarth is a global hub of 5M+ developers.

  14. Google Colab

    To run a cell of code, click the "play button" icon to the left of the cell or click on the cell and press "Shift+Enter" on your keyboard. This will execute the Python code contained in the cell. Executing a cell that defines a variable is important before executing or authoring a cell that depends on that previously created variable assignment.

  15. C programming examples, exercises and solutions for beginners

    8 star pattern. Heart star with name pattern. View all star pattern examples →. Square number pattern. Right triangle number pattern. Inverted right triangle. Triangle with zero filled. Half diamond pattern. Half diamond star bordered pattern.

  16. Problem Set 1

    Problem set on writing, compiling, and debugging C programs, preprocessor macros, the C file structure, variables, functions and program statements, and returning from functions.

  17. Assignments

    In-Class Questions and Video Solutions Lecture 1 Lecture 2 Lecture 3 Lecture 4 Lecture 5 Lecture 7 Lecture 8 Lecture 9 Assignments ... assignment_turned_in Programming Assignments with Examples. Download Course. Over 2,500 courses & materials Freely sharing knowledge with learners and educators around the world.

  18. Programming Help

    Chegg is one of the leading providers of programming help for college and high school students. Get help and expert answers to your toughest programming questions. Master your programming assignments with our step-by-step programming textbook solutions. Ask any programming question and get an answer from our experts in as little as two hours.

  19. 22 Coding Interview Questions Every Developer Should Know

    Get started with HackerRank. Over 2,500 companies and 40% of developers worldwide use HackerRank to hire tech talent and sharpen their skills. Coding tests have been the backbone of technical hiring for decades. In this post, we break down how 22 interview questions you should know.

  20. nptel-assignments · GitHub Topics · GitHub

    Add this topic to your repo. To associate your repository with the nptel-assignments topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

  21. Creative Programming Assignments

    Creative Programming Assignments. Below are links to a number of creative programming assignments that we've used at Princeton. Some are from COS 126: Introduction to Computer Science; others are from COS 226: Data Structures and Algorithms.The main focus is on scientific, commercial, and recreational applications.

  22. amanchadha/coursera-deep-learning-specialization

    Notes, programming assignments and quizzes from all courses within the Coursera Deep Learning specialization offered by deeplearning.ai: (i) Neural Networks and Deep Learning; (ii) Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization; (iii) Structuring Machine Learning Projects; (iv) Convolutional Neural Networks; (v) Sequence Models - amanchadha/coursera-deep ...

  23. Solve problems with programming assignments

    Can't submit programming assignment. If you're having trouble submitting a programming assignment, try the following steps: Make sure you saved your files in the correct format. To change the format, re-save your files. Decrease the size of the files, if possible. Clear your browser's cookies and cache. Making sure any ad-blocking software is ...