संदेश

नवंबर, 2021 की पोस्ट दिखाई जा रही हैं

Liang-Bosky line clipping algorithm

 Lian -Bosky line clipping algorithm starting point (t=0) and ending point (t=x) base on time interval we can calculate instruction point,                                                                               initial point(t=0)                   p(x,y)  t                  final point(t=1)                                                     A----------------/---------------------B                                                (x1,y1) ...

difference between restar and vector graphics in computer graphics.com

                    difference between Restar and vector graphics                                                                         Restar graphics                              vector graphics                 1 : its cost is low,                            1 : its cost is high,                  2 : in this scan conversion              2: in this scan conversion is not required,                     is required ,         ...

Describe the synthesis analysis model of compiler? in compiler designer. or Explain in detail the process of compilation? in compiler designer

चित्र
  what is compiler? compiler is a program that convert high level language into machine level language. compiler is scans all the lines of source program and list out all syntax error at a time. A compiler contain six phases which are as fallows.  1:  phase 1 (Lexical analysis):  a  : The lexical analyzer is also called scanner.          b : The lexical analyzer phase takes source program as input and separates characters of  source language into group of sting called token. c : operator symbols such as >,>=,+,etc punctuation symbols such as parenthesis or commas. 2. phase 2(syntax analyzer): a : the syntax analyzer phase is also called parsing phase. b : the syntax analyzer group tokens together into syntactic structure . c : the output of this is parse tee. 3: phase 4 (semantic analyzer ): a: the semantic analyzer phase check the source program for semantic error and gather type            ...