Showing posts with label Programmation. Show all posts
Showing posts with label Programmation. Show all posts

Monday, January 13, 2020

Programmation Linéaire 1 - Résolution Graphique Algorithme + Exemple avec Solution

Plin - Methode Graphique

Programmation Linéaire 1 - Résolution Graphique
Algorithme + Exemple avec Solution




Serie TD+Solution(L3 promo 19/20 Univ de Biskra)





Des Cours Plin

Friday, May 17, 2019

C Program’s Life Cycle !!

C Program’s Life Cycle !!



What are C libraries?

Pre-compiled functions that come with the C compiler.
The functions are grouped in different packages called libraries.
To use functions included in a library, include the header file specified for that library in your program.
Exemples:
#include <math.h>
#include <conio.h>
#include <stdio.h>



Why C Programming Language? Features !!

Why C !!:


¨ C is a widely used portable high level programming language
¨ High level, but also let’s your program closer to the metal.
¨ Used for embedded programming
¨ Many language have a c pedigree
¨ it can manipulate bits of computer memory. 
¨ can run on different platforms with very little modification. 

Features of C Language:


There are many features of c language are given below:
1)   Simple
2)   Machine Independent or Portable
3)   Mid-level programming language
4)   structured programming language
5)   Rich Library
6)   Memory Management
7)   Fast Speed
8)   Pointers
9)   Recursion
10) Extensible

Monday, March 18, 2019

The Difference Between Block And In-line Element !!


The Difference Between Block And In-line Element !!

We have many markup to use like <br> add line (break line) or <p> separator a piece of text for other but there is difference between them not in the using  but in the function to use :
  so you might have noticed that we have two different ways in HTML of breaking our text into multiple lines
we have < br > empty element and <p> element which is an not empty element

so <p> create a little invisible box around the text .this box called a block and block are heavily involved in how the browser lays out text on the screen
the block has height and width and it also have margin above and below and that's what provide the space around the paragraph this <p> element we called a block and <br> we called in-line element like <em> <mark> <a>(the hypertext element )
it can seem bit abstract trying to imagine these invisible box that the browser constructs around the element.

How To Write HTML Code !!


What is the HTML !!!


It’s the language that provide the structure and the text of web pages, actually HTML based on the Hypertext Markup Language and the text that the user will actually read in their browser.
Hyper text is the text that can have link of references and the references to include other document and files like images video.
Markup code tell the browser how the text should look like ,how it managed.


How To Write HTML Code !!


  - Markup 
Markup is a symbol or tag  that you insert at certain place in a text file. This represents how the file should look when it is printed in your browser.
like  < br >    < em >
when we went to insert images we use  < img  src = " " >
or when add break line we can use  < br > the empty element or < p > the element by the way even <img src="">is empty element 

 Difference between empty element and element!!


the empty element don't need closing tag like <p>  </p> or  <div> </div>
 because it doesn't have any continent
so we have many empty element and element in HTML Language.

Learning More About Programming


Learning More About Programming

So before we know more thing about programming  we must learn a few concepts we used in programming :


  1. The first thing is syntax :its means grammar rules of languages like English, Arabic and all the other languages in the world, So even programming have a rules like how you put your code together.
  2. The second thing is too keep in mind something about the computer that scientists call the formalism means the computer take the code totally literally word by word the computer can not guess what you really mean and think of.
  3. The third idea is an aspect of syntax that will keep showing  up in every computer language you learn this is the concept of nesting  it has to do with how some bits of code can go inside other bits of code in an ordinary way.


So What Is The Web !!


 So What Is The Web !!

1- web


The web :is collection of HTML document and another resources that refer each other links the web is hypertext syntax what this means is that document ,web pages ,sites,web App, can contain references to other documents and the users can follow those references to find related information we call these references hyper link, all the web technology is built around this idea.

2- web pages


Can include resources such images ,video the web pages are usually stored same server or another server in fact to load a web pages your browser send a request for that page to a server.


3- web browser


It is App like Firefox edge, Chrome, Opera, Safari and many others that is designed for displaying web pages, in fact web browser and server interacting in specific way so when you go to any web browser your browser give a request to the server asking for particular  documents by name (index.html) the server send him the document or a message error when  he don't find the documents.
all these operation call protocol means how the browser can speak with the server and tell the web server to use particular set of rules this call (HTTPHTTPS :hypertexte transfer  protocol)