The Path To Discover Excellence.

Saturday, 7 November 2020

November 07, 2020

Object-Oriented Programming Defined

In object-oriented programming, concepts are modeled as classes and objects. An idea is defined using a class, and an instance of this class is called an object. Almost everything in Python is an object, including strings, lists, dictionaries, and numbers. When we create a list in Python, we’re creating an object which is an instance of the list class, which represents the concept of a list. Classes also have attributes and methods associated with them. Attributes are the characteristics of the class, while methods are functions that are part of the class.


Friday, 6 November 2020

November 06, 2020

Introduction To Web Development Coursera | Week 6


                            WEEK 6 Quiz module

                        ANSWERS ARE MARKED WITH correct SIGN.

1. Question 1 One of the main features of server side development is



None of these


Databases Correct 

2. Question 2 Which of these is not a client side technology?

PHP Correct 





3. Question 3 What can be said about a while loop? (Select all that apply.)

The perform actions repetitively until complete Correct 

They often use a loop counter Correct 

All of these are correct

They are mainly used for writing vertical text

4. Question 4 When we are working with characters in a string we refer to them by number:

The numbering starts at 1

The numbering starts at 0 Correct 

None of these

The numbering starts at 0, but only in JavaScript

We can start with any number

5. Question 5 What operator do programmers frequently use to add 1 to a variable i?



i + I;

i++; Correct 

i = I + 1;

6. Question 6 In programming languages we will often work with collections of things. Which of the following could be considered a collection? (Select all that apply.)

A form

The elements of a form Correct 

The letters that make up a string Correct 

All of these are correct

A string

7. Question 7 The two most common loops we see in JavaScript are

None of these

for and for each

repeat and go

while and for Correct 

do and while

8. Question 8 What is true about loops in programming languages? (Select all that apply.)

Multiple kinds of loops is a convenience Correct 

For and while loops are the least common

We need many kinds of loops to be effective

We really only need one kind of loop Correct 

9. Question 9 Which of these are recommended to improve your Web development and programming skills? (Select all that apply.)

Imitating other people’s software is a waste of time

It’s best to focus on your code and ignore what others are doing

Imitate other software as a way to learn and practice Correct 

It pays to be curious about other people software and features Correct 

10. Question 10 What is the recommended approach to problems?

Tackle medium and large problems because they build skill faster

Break problems down into their smallest parts Correct 

Avoid problems and move on to something easier.

None of these

11. Question 11 What can we say about continuing to learn about Web development?

Teaching others can lead to them stealing your best ideas

It’s best to work and communicate with others Correct 

It’s best to work alone so you can concentrate

Teaching others is a distraction that limits your learning

12. Question 12 What are the recommendations for working on your final project? (Select all that apply.)

None of these

Think about the purpose of your form before you start Correct 

All of these are true

Start with a very basic CSS file and get that working first Correct 

Avoid starting with a template

  • coursera
  • coursera solutions github
  • coursera solutions python
  • coursera solutions machine learning
  • coursera solutions python data structures
  • coursera solutions programming fundamentals
  • coursera solutions quora
  • coursera solutions youtube
  • coursera solutions info
  • edx solutions alliance
  • coursera assignment solutions
  • coursera assignment solutions data science
  • coursera algorithms solutions
  • coursera assignment solutions python
  • coursera assignment solutions html css and javascript
  • coursera aws solutions architect associate
  • coursera matlab assignment solutions
  • coursera python basics solutions
  • edx solutions bolsa de trabajo
  • edx solutions b2b
  • coursera courses solutions
  • coursera cryptography solutions
  • coursera-cryptography 1 solutions
  • edx course solutions
  • coursera algorithmic toolbox solutions c++
  • coursera matlab course solutions
  • data structures coursera solutions c++
  • coursera dsp course solutions
  • coursera solutions deep learning
  • coursera dsp solutions
  • coursera solutions for data structures and algorithms
  • coursera ex2 solutions
  • coursera excel solutions
  • coursera ex4 solution
  • coursera ex3 solution
  • coursera ex5 solution
  • coursera ex6 solution
  • coursera power electronics solutions
  • coursera solutions python for everybody
  • coursera global financing solutions
  • solutions for coursera courses
  • edx solutions facturacion
  • edx solutions github
  • coursera quiz solutions github
  • coursera algorithmic toolbox solutions github
  • coursera algorithmic toolbox solutions github c++
  • data structures coursera solutions github
  • machine learning coursera solutions github
  • modern robotics coursera solutions github
  • coursera homework solutions
  • edx homework solutions
  • coursera matlab homework solutions
  • cryptography i coursera solutions
  • coursera algorithmic toolbox solutions java
  • java coursera solutions
  • coursera answers
  • coursera assignment github
  • coursera l4g solutions
  • ml coursera solutions
  • ml-coursera-python-assignment solutions
  • coursera matlab solutions
  • coursera cryptography maryland solutions
  • coursera sequence models solutions
  • coursera discrete mathematics solutions
  • edx solutions mexico
  • coursera andrew ng solutions
  • coursera convolutional neural networks solutions
  • nlp coursera solutions
  • coursera discrete optimization solutions
  • solutions of coursera courses
  • edx python solutions
  • coursera algorithmic toolbox solutions python
  • coursera r programming solutions
  • coursera competitive programming solutions
  • coursera quiz solutions
  • edx quiz solutions
  • coursera python quiz solutions
  • coursera ml quiz solutions
  • deep learning coursera solutions quiz
  • coursera algorithmic toolbox quiz solutions
  • coursera statistics with r solutions

November 06, 2020

Python Lists and Tuples Operations Cheat Sheet

Lists and Tuples Operations Cheat Sheet

Lists and tuples are both sequences, so they share a number of sequence operations. But, because lists are mutable, there are also a number of methods specific just to lists. This cheat sheet gives you a run down of the common operations first, and the list-specific operations second.

Common sequence operations

  • len(sequence) Returns the length of the sequence
  • for element in sequence Iterates over each element in the sequence
  • if element in sequence Checks whether the element is part of the sequence
  • sequence[i] Accesses the element at index i of the sequence, starting at zero
  • sequence[i:j] Accesses a slice starting at index i, ending at index j-1. If i is omitted, it's 0 by default. If j is omitted, it's len(sequence) by default.
  • for index, element in enumerate(sequence) Iterates over both the indexes and the elements in the sequence at the same time

Check out the official documentation for sequence operations.

List-specific operations and methods

  • list[i] = x Replaces the element at index i with x
  • list.append(x) Inserts x at the end of the list
  • list.insert(i, x) Inserts x at index i
  • list.pop(i) Returns the element a index i, also removing it from the list. If i is omitted, the last element is returned and removed.
  • list.remove(x) Removes the first occurrence of x in the list
  • list.sort() Sorts the items in the list
  • list.reverse() Reverses the order of items of the list
  • list.clear() Removes all the items of the list
  • list.copy() Creates a copy of the list
  • list.extend(other_list) Appends all the elements of other_list at the end of list

Most of these methods come from the fact that lists are mutable sequences. For more info, see the official documentation for mutable sequences and the list specific documentation.

List comprehension

  • [expression for the variable in sequence] Creates a new list based on the given sequence. Each element is the result of the given expression.
  • [expression for the variable in sequence if condition] Creates a new list based on the given sequence. Each element is the result of the given expression; elements only get added if the condition is true.
  1. list and tuples in python ppt
  2. list and tuples in python pdf
  3. list and tuples in python w3schools
  4. difference between lists and tuples python
  5. lists vs tuples python
  6. concatenate list and tuple python
  7. list and tuple in python program
  8. merge list and tuple python
  9. list of tuples python access
  10. list of tuples python append
  11. list tuple array python
  12. a list of tuples python
  13. list of tuples python create
  14. list of tuples python count
  15. list of tuples comprehension python
  16. list to tuple conversion python
  17. list to tuple converter python
  18. lists and tuples in python
  19. list and tuple difference python
  20. lists tuples dictionaries python
  21. list tuple dict python
  22. list tuple dictionary python ppt
  23. list of tuples python example
  24. python list and tuple exercises
  25. list of tuples element python
  26. list of tuples python for loop
  27. list of tuples python get first
  28. list of tuples groupby python
  29. given that python lists and python tuples are quite similar
  30. list and tuple in python in hindi
  31. list and tuple in python difference
  32. list dictionaries and tuples in python
  33. compare list and tuples in python
  34. list tuple join python
  35. list and tuples in python
  36. lists dictionaries and tuples in python
  37. list tuple and set in python
  38. list and tuples
  39. what are lists and tuples in python
  40. what is list and tuples in python
  41. list tuples and dictionary in python ppt
  42. list vs tuple performance python
  43. list of tuple pairs python
  44. python lists and tuples quiz
  45. python list and tuple questions
  46. list tuple range python
  47. list tuple python sorting
  48. list tuples sets python
  49. list of tuples python split
  50. list of tuples python string
  51. list of tuples search python
  52. list of tuples python to dict
  53. list tuple to python
  54. python lists and tuples
  55. python programs on lists and tuples
  56. programs on list and tuples in python
  57. python list vs tuple
  58. two lists into tuples python
  59. list of tuples python 3
  60. list vs tuple python 3


Monday, 2 November 2020

November 02, 2020

Python Loops Cheat Sheet


Loops Cheat Sheet

Check out below for a rundown of the syntax for while loops and for loops.

While Loops

A while loop executes the body of the loop while the condition remains True.


Things to watch out for!

  • Failure to initialize variables. Make sure all the variables used in the loop’s condition  are initialized before the loop.
  • Unintended infinite loops. Make sure that the body of the loop modifies the variables used in the condition, so that the loop will eventually end for all possible values of the variables.

Typical use:

While loops are mostly used when there’s an unknown number of operations to be performed, and a condition needs to be checked at each iteration.

For Loops

A for loop iterates over a sequence of elements, executing the body of the loop for each element in the sequence.


The range() function:

range() generates a sequence of integer numbers. It can take one, two, or three parameters:

  • range(n): 0, 1, 2, ... n-1
  • range(x,y): x, x+1, x+2, ... y-1
  • range(p,q,r): p, p+r, p+2r, p+3r, ... q-1 (if it's a valid increment)

Common pitfalls:

  • Forgetting that the upper limit of a range() isn’t included.
  • Iterating over non-sequences. Integer numbers aren’t iterable. Strings are iterable letter by letter, but that might not be what you want.

Typical use:

For loops are mostly used when there's a pre-defined sequence or range of numbers to iterate.

Break & Continue

You can interrupt both while and for loops using the break keyword. We normally do this to interrupt a cycle due to a separate condition.

You can use the continue keyword to skip the current iteration and continue with the next one. This is typically used to jump ahead when some of the elements of the sequence aren’t relevant.

If you want to learn more, check out this wiki page on for loops.

Monday, 26 October 2020

October 26, 2020

First Programming Concepts Cheat Sheet


First Programming Concepts Cheat Sheet

Functions and Keywords

Functions and keywords are the building blocks of a language’s syntax.

Functions are pieces of code that perform a unit of work. In the examples we've seen so far, we've only encountered the print() function, which prints a message to the screen. We'll learn about a lot of other functions in later lessons but, if you're too curious to wait until then, you can discover all the functions available here.

Keywords are reserved words that are used to construct instructions. We briefly encountered for and in in our first Python example, and we'll use a bunch of other keywords as we go through the course. For reference, these are all the reserved keywords:


You don't need to learn this list; we'll dive into each keyword as we encounter them. In the meantime, you can see examples of keyword usage here.

Arithmetic operators

Python can operate with numbers using the usual mathematical operators, and some special operators, too. These are all of them (we'll explore the last two in later videos).

  • a + b = Adds a and b
  • a - b = Subtracts b from a
  • a * b = Multiplies a and b
  • a / b = Divides a by b
  • a ** b = Elevates a to the power of b. For non-integer values of b, this becomes a root (i.e. a**(1/2) is the square root of a)
  • a // b = The integer part of the integer division of a by b
  • a % b = The remainder part of the integer division of a by b