COMMON HALF YEARLY EXAMINATION DECEMBER 2018

Size: px
Start display at page:

Download "COMMON HALF YEARLY EXAMINATION DECEMBER 2018"

Transcription

1 li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net.pds.pds COMMON HALF YEARLY EXAMINATION DECEMBER 2018 STD : XI SUBJECT: COMPUTER SCIENCE TIME : 2.30 Hrs TOTAL MARKS: 70 KEY ANSWER.Pdsli.Net.Pdsli.Net 1. C) Fifth 2. B) C 3. B) Both 4. C) iii 5. A) Mrk shuttle worth 6. C) 3 7. B) m=7, n=-8 8. C) C++ hs not function librry 9. C) goto 10. A) bse-exponent 11. A) Structure vrible 12. B) (i) nd (ii) only 13. C) void fun(double d); void fun(chr ch) 14. D) clss student : public school 15. B) Intellectul property theft.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net PART-A 15X1=15 PART-B 6X2= Add : Subtrct : Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net 17. Security mngement Fetures in Os. (1) File ccess level (2) System level (3) Network level.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net Pdsli.Net.Pdsli.Net Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net ww.pdsli.net ww.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 1.Pds.Pds 18. Logoff from Ubuntu OS: When you hve finished working on your computer, you cn choose to Log Out, Suspend or Shut down through the Session Indictor on the fr right side of the top pnel..pdsli.net.pdsli.net 19. Abstrction: A problem cn involve lot of detils. Severl of these detils re unnecessry for solving the problem. Only few detils re essentil. Abstrction is the process of hiding or ignoring the detils irrelevnt to the tsk so s to model problem only by its essentil fetures..pdsli.net.pdsli.net 20. While loop: 3,6,9,12 30.Pdsli.Net.Pdsli.Net While(i=3<31) cout<< i; i=i+3; 21. Syntx of 2-D Arry: Two-dimensionl (2D) rrys re collection of similr elements where the elements re stored in certin number of rows nd columns..pdsli.net.pdsli.net An exmple m n mtrix where m denotes the number of rows nd n denotes the number of columns. Exmple: int rr[3][3];.pdsli.net.pdsli.net 22. Disdvntge of OOP: Size Effort Speed.Pdsli.Net.Pdsli.Net 23. Difference b/w Public nd Privte: Public: Privte:.Pdsli.Net.Pdsli.Net 24. Digitl signture:.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pds.pds Members under specifier cn ccessed from Outside. Members under specifier cnt ccessed from Outside..Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net Digitl signtures re bsed on symmetric cryptogrphy nd cn provide ssurnces of evidence to origin, identity nd sttus of n electronic document, trnsction or messge, s well s cknowledging informed by the signer..pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net Kindly Downlod From -.Pdsli.Net - Originl Eductionl Website - Avoid Duplicte Websites. ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 2

2 li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net.pds.pds 25. Differentite opticl nd Lser Mouse. Opticl Mouse Mesures the motion nd ccelertion of Pointer..Pdsli.Net.Pdsli.Net It uses light source insted of bll to judge the motion of the pointer. Opticl mouse hs three buttons..pdsli.net.pdsli.net Opticl mouse is less sensitive towrds surfce. PART-C 6X3=18 Lser Mouse Mesures the motion nd ccelertion of pointer. Lser Mouse uses Lser Light. Lser mouse hs three buttons Lser Mouse is highly sensitive nd ble to work on ny hrd surfce. 26. Mobile OS: A Mobile operting system controls mobile device nd its design supports wireless communiction nd different types of mobile pplictions. i. Google Android ii. Apple ios iii. Blckberry iv. Symbin.Pdsli.Net.Pdsli.Net 27. Procedure to Renme file..pdsli.net.pdsli.net 1. Select the File or Folder you wish to Renme. 2. Click File Renme. 3. Type in the new nme. 4. To finlise the renming opertion, press Enter Procedure to sve file Type the contents in the workspce nd sve the file using File Sve or Ctrl + S..Pdsli.Net.Pdsli.Net 28. Cse Anlysis: Alterntive sttement nlyses the problem into two cses. Cse nlysis sttement generlizes it to multiple cses..pdsli.net.pdsli.net 29. Cse nlysis splits the problem into n exhustive set of disjoint cses. For ech cse, the problem is solved independently. Logicl error.pdsli.net.pdsli.net A Progrm hs not produced expected result even though the progrm is grmmticlly correct. Progrm is grmmticlly correct, but it contins some logicl error..pdsli.net.pdsli.net Semntic error is lso clled s Logic Error. ww.pdsli.net ww.pdsli.net.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net Syntx error.pdsli.net.pdsli.net.pds.pds Syntx is set of grmmticl rules to construct progrm..pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net Syntx errors occur when grmmticl rules of C++ re violted. EX:.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net cout << Welcome to Progrmming in Control flow C++ Input/output Error: End of the bove sttement ; is missing. Kindly Downlod From -.Pdsli.Net - Originl Eductionl Website - Avoid Duplicte Websites. ww.pdsli.net ww.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 3.Pds.Pds 30. Explin: strct() strupr() strlwr().pdsli.net.pdsli.net 31. Modulriztion: Modulristion: Softwre re-use: 32. Chrcteristics of constructors: - This function tkes two rguments. (To join two strings) - To convert the given string into Uppercse letters. - To convert the given string into Lowercse letters. Where the progrm cn be decomposed into modules. Where progrm cn be composed from existing nd new modules. The nme of the constructor must be sme s tht of the clss No return type cn be specified for constructor A constructor cn hve prmeter list The constructor function cn be overloded They cnnot be inherited but derived clss cn cll the bse clss constructor The compiler genertes constructor, in the bsence of user define.pdsli.net.pdsli.net.pdsli.net.pdsli.net 33. Function Overloding: The bility of the function to process the messge or dt in more thn one form is clled s function overloding. Function overloding mens two or more functions in the sme scope shre the sme nme but their prmeters re different. In this sitution, the functions tht shre the sme nme re sid to be overloded nd the process is clled function overloding..pdsli.net.pdsli.net PART-D 5X5= Chrcteristics of Microprocessor. A Microprocessor s performnce depends on the following chrcteristics:.pdsli.net.pdsli.net ) Clock speed b) Instruction set c) Word size.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ) Clock Speed Every microprocessor hs n internl clock tht regultes the speed t which it executes instructions. The speed t which the microprocessor executes instructions is clled the clock speed. Clock speed is mesured in MHz (Meg Hertz) or in GHz (Gig Hertz)..Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net b) Instruction Set A commnd which is given to computer to perform n opertion on dt is clled n instruction. Bsic set of mchine level instructions tht microprocessor is designed to execute is clled s n instruction set. This instruction set crries out the following types of opertions: Dt trnsfer Arithmetic opertions Logicl opertions.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 4

3 li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net.pds.pds c) Word Size The number of bits tht cn be processed by processor in single instruction is clled its word size. Word size determines the mount of RAM tht cn be ccessed by microprocessor t one time nd the totl number of pins on the microprocessor. Totl number of input nd output pins in turn determines the rchitecture of the microprocessor..pdsli.net.pdsli.net Windows nd Ubuntu icons..pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net S.No Windows Ubuntu 1 Recycle Bin Trsh 2 My computer Files 3 Ms word Libreoffice writer.pdsli.net.pdsli.net 35. Given two glsses mrked X nd Y. Glss X is full of pple drink nd glss Y is full of grpe drink. For exchnging the contents of glsses X nd Y, represent the stte by suitble vribles, nd write the specifiction of the lgorithm. Solution: Exchnge (X, Y).Pdsli.Net.Pdsli.Net --Inputs: --Outputs: t:=x X:=Y Y:=t Recursive problem solving: X, Y re integers, X 0, Y 0 X, Y re Integers,.Pdsli.Net.Pdsli.Net.Pds.Pds.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pds.Pds.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net Ech solver should test the size of the input. If the size is smll enough, the solver should output the solution to the problem directly. If the size is not smll enough, the solver should reduce the size of the input nd cll sub-solver to solve the problem with the reduced input..pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 5.Pds.Pds Fctoril of nturl number recursively. The fctoril of number is the product of ll the integers from 1 to tht number. For exmple, the fctoril of 4 (denoted s 4!) is 1*2*3*4= 24. Fctoril (4) i = 1, f = 1; = f = 1 x 1= 1 = f = 1 x 2= 2 = f = 2 x 3= 6 = f = 6 x 4= 24.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net 36. Use of Binry opertors: Binry Opertors - Require two opernds C++ Opertors re clssified s: (1) Arithmetic Opertors (2) Reltionl Opertors (3) Logicl Opertors (4) Bitwise Opertors (5) Assignment Opertors (6) Conditionl Opertor.Pdsli.Net.Pdsli.Net (1) Arithmetic Opertors.Pdsli.Net.Pdsli.Net Arithmetic opertors to perform simple rithmetic opertions like ddition, subtrction, multipliction, division etc., (2) Reltionl Opertors.Pdsli.Net.Pdsli.Net Reltionl opertors re used to determine the reltionship between its opernds. When the reltionl opertors re pplied on two opernds, the result will be Boolen vlue i.e 1 or 0 to represents True or Flse respectively..pdsli.net.pdsli.net (3)Logicl Opertors.Pds.Pds A logicl opertor is used to evlute logicl nd reltionl expressions. The logicl opertors ct upon the opernds tht re themselves clled s logicl expressions..pdsli.net.pdsli.net C++ provides three logicl opertors..pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net Kindly Downlod From -.Pdsli.Net - Originl Eductionl Website - Avoid Duplicte Websites. ww.pdsli.net ww.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 6

4 li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net.pds.pds (4)Bitwise Opertors Bitwise opertors work on ech bit of dt nd perform bit-by-bit opertion. In C++, there re three kinds of bitwise opertors, which re:.pdsli.net.pdsli.net (i) Logicl bitwise opertors (ii) Bitwise shift opertors (iii) One s complement opertors (5)Assignment Opertor: Assignment opertor is used to ssign vlue to vrible which is on the left hnd side of n ssignment sttement..pdsli.net.pdsli.net = (equl) is commonly used s the ssignment opertor in ll computer progrmming lnguges. This opertor copies the vlue t the right side of the opertor to the left side vrible. It is lso binry opertor..pdsli.net.pdsli.net (6) Conditionl Opertor: In C++, there is only one conditionl opertor is used.?: is conditionl Opertor. This is Ternry Opertor. This opertor is used s n lternte to if else control sttement..pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net Control Sttement:.Pds.Pds.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net Control sttements re sttements tht lter the sequence of flow of instructions. In progrm, sttements my be executed sequentilly, selectively or itertively. Every progrmming lnguges provides sttements to support sequence, selection (brnching) nd itertion..pdsli.net.pdsli.net.pdsli.net.pdsli.net If the Sttements re executed sequentilly, the flow is clled s sequentil flow..pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net In some situtions, if the sttements lter the flow of execution like brnching, itertion, jumping nd function clls, this flow is clled s control flow. The sequentil sttement re the sttements, tht re executed one fter nother only once from top to bottom. These sttements do not lter the flow of execution. These sttements re clled s sequentil flow sttements. They re lwys end with semicolon (;)..Pdsli.Net.Pdsli.Net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 7.Pds.Pds.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net 1) The selection sttement mens the sttement (s) re executed depends upon condition. If condition is true, true block ( set of sttements) is executed otherwise flse block is executed. This sttement is lso clled decision sttement or selection sttement. 2) Itertion Sttement (looping) is use to execute set of sttements repetedly until condition is stisfied. If condition evlutes to true, the set of sttements (true block) is executed gin nd gin. This is lso known s looping sttement or itertion sttement..pdsli.net.pdsli.net 3) Jump Sttement re used (1) goto (2) brek (3) continue.pdsli.net.pdsli.net 37. Cll by vlue Cll by vlue method copies the vlue of n ctul prmeter into the forml prmeter of the function. In this cse, chnges mde to forml prmeter within the function will hve no effect on the ctul prmeter. Exmple Progrm:.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net Output :.Pdsli.Net.Pdsli.Net.Pds.Pds.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net #include<iostrem> using nmespce std; void disply(int x) int =x*x; cout<<"\n\n The Vlue inside disply function ( * ):"<<; int min() int ; cout<<"\n\n Enter the Vlue for A :"; cin>>; disply(); cout<<"\n\n The Vlue inside min function "<<; return(0);.pdsli.net.pdsli.net.pdsli.net.pdsli.net Enter the Vlue for A : 5 The Vlue inside disply function ( * ) : 25 The Vlue inside min function 5.Pdsli.Net.Pdsli.Net Kindly Downlod From -.Pdsli.Net - Originl Eductionl Website - Avoid Duplicte Websites. ww.pdsli.net ww.pdsli.net ww.pdsli.net ww.pdsli.net ww.pdsli.net ww.pdsli.net ww.pdsli.net ww.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 8

5 li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net li.net i.net.pds.pds Types of Inheritnce: There re different types of inheritnce viz., Single Inheritnce, Multiple inheritnce, Multilevel inheritnce, hybrid inheritnce nd hierrchicl inheritnce..pdsli.net.pdsli.net 1. Single Inheritnce When derived clss inherits only from one bse clss, it is known s single inheritnce 2. Multiple Inheritnce.Pdsli.Net.Pdsli.Net When derived clss inherits from multiple bse clsses it is known s multiple inheritnce 3. Hierrchicl inheritnce When more thn one derived clsses re creted from single bse clss, it is known s Hierrchicl inheritnce..pdsli.net.pdsli.net 4. Multilevel Inheritnce The trnsitive nture of inheritnce is itself reflected by this form of inheritnce. When clss is derived from clss which is derived clss then it is referred to s multilevel inheritnce..pdsli.net.pdsli.net 5. Hybrid inheritnce When there is combintion of more thn one type of inheritnce, it is known s hybrid inheritnce. Hence, it my be combintion of Multilevel nd Multiple inheritnce or Hierrchicl nd Multilevel inheritnce or Hierrchicl, Multilevel nd Multiple inheritnce..pdsli.net.pdsli.net 38. Debug Progrm: Output Progrm : #include<iostrem> #include<conio.h> clss A public: int 1,2,3; void getdt() 1=15; 2=14; 3=13; ; clss B:: public A.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net ww.pdsli.net ww.pdsli.net.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 9.Pds.Pds Output: public: void func() int b1,b2,b3; A::getdt(); b1=1; b2=2; b3=3; cout<<b1<< \t <<b2<< t\ <<b3; ; int min() clrscr() B der; der.func(); getch(); return 0;.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net M.VIJAYA KUMAR, MCA.,M.Phil.,B.Ed.,PGDCA., PGT-COMPUTER TEACHER,.Pds.Pds.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net V.SUJITHA, MCA.,M.Phil., PGT-COMPUTER TEACHER, SASTRA MATRICULATION HIGHER SECONDARY SCHOOL,.Pdsli.Net.Pdsli.Net Enter vlues for nd b (smple dt 6 nd 7) The two integers re. 6 7 The sum of the vribles = 13.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net.Pdsli.Net ww.pdsli.net ww.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net KILPENNATHUR, TIRUVANNAMALAI Pdsli.Net.Pdsli.Net Mobile No : Emil : vijy28soft@gmil.com +1 & +2 Computer Science Complete Mteril.Pdsli.Net.Pdsli.Net Click here Kindly Downlod From -.Pdsli.Net - Originl Eductionl Website - Avoid Duplicte Websites. ww.pdsli.net ww.pdsli.net.pds.pds.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net.pdsli.net ww.pdsli.net ww.pdsli.net Sstr Mtric.Hr.Sec.School, Kilpennthur, Tiruvnnmli 10

10/9/2012. Operator is an operation performed over data at runtime. Arithmetic, Logical, Comparison, Assignment, Etc. Operators have precedence

10/9/2012. Operator is an operation performed over data at runtime. Arithmetic, Logical, Comparison, Assignment, Etc. Operators have precedence /9/22 P f Performing i Si Simple l Clcultions C l l ti with ith C#. Opertors in C# nd Opertor Precedence 2. Arithmetic Opertors 3. Logicl Opertors 4. Bitwise Opertors 5. Comprison Opertors 6. Assignment

More information

Reference types and their characteristics Class Definition Constructors and Object Creation Special objects: Strings and Arrays

Reference types and their characteristics Class Definition Constructors and Object Creation Special objects: Strings and Arrays Objects nd Clsses Reference types nd their chrcteristics Clss Definition Constructors nd Object Cretion Specil objects: Strings nd Arrys OOAD 1999/2000 Cludi Niederée, Jochim W. Schmidt Softwre Systems

More information

Midterm 2 Sample solution

Midterm 2 Sample solution Nme: Instructions Midterm 2 Smple solution CMSC 430 Introduction to Compilers Fll 2012 November 28, 2012 This exm contins 9 pges, including this one. Mke sure you hve ll the pges. Write your nme on the

More information

Functor (1A) Young Won Lim 10/5/17

Functor (1A) Young Won Lim 10/5/17 Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published

More information

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers Wht do ll those bits men now? bits (...) Number Systems nd Arithmetic or Computers go to elementry school instruction R-formt I-formt... integer dt number text chrs... floting point signed unsigned single

More information

Functor (1A) Young Won Lim 8/2/17

Functor (1A) Young Won Lim 8/2/17 Copyright (c) 2016-2017 Young W. Lim. Permission is grnted to copy, distribute nd/or modify this document under the terms of the GNU Free Documenttion License, Version 1.2 or ny lter version published

More information

How to Design REST API? Written Date : March 23, 2015

How to Design REST API? Written Date : March 23, 2015 Visul Prdigm How Design REST API? Turil How Design REST API? Written Dte : Mrch 23, 2015 REpresenttionl Stte Trnsfer, n rchitecturl style tht cn be used in building networked pplictions, is becoming incresingly

More information

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers Wht do ll those bits men now? bits (...) Number Systems nd Arithmetic or Computers go to elementry school instruction R-formt I-formt... integer dt number text chrs... floting point signed unsigned single

More information

Questions About Numbers. Number Systems and Arithmetic. Introduction to Binary Numbers. Negative Numbers?

Questions About Numbers. Number Systems and Arithmetic. Introduction to Binary Numbers. Negative Numbers? Questions About Numbers Number Systems nd Arithmetic or Computers go to elementry school How do you represent negtive numbers? frctions? relly lrge numbers? relly smll numbers? How do you do rithmetic?

More information

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming Lecture 10 Evolutionry Computtion: Evolution strtegies nd genetic progrmming Evolution strtegies Genetic progrmming Summry Negnevitsky, Person Eduction, 2011 1 Evolution Strtegies Another pproch to simulting

More information

Unit 5 Vocabulary. A function is a special relationship where each input has a single output.

Unit 5 Vocabulary. A function is a special relationship where each input has a single output. MODULE 3 Terms Definition Picture/Exmple/Nottion 1 Function Nottion Function nottion is n efficient nd effective wy to write functions of ll types. This nottion llows you to identify the input vlue with

More information

CPSC 213. Polymorphism. Introduction to Computer Systems. Readings for Next Two Lectures. Back to Procedure Calls

CPSC 213. Polymorphism. Introduction to Computer Systems. Readings for Next Two Lectures. Back to Procedure Calls Redings for Next Two Lectures Text CPSC 213 Switch Sttements, Understnding Pointers - 2nd ed: 3.6.7, 3.10-1st ed: 3.6.6, 3.11 Introduction to Computer Systems Unit 1f Dynmic Control Flow Polymorphism nd

More information

L2-Python-Data-Structures

L2-Python-Data-Structures L2-Python-Dt-Structures Mrch 19, 2018 1 Principl built-in types in Python (Python ) numerics: int, flot, long, complex sequences: str, unicode, list, tuple, byterry, buffer, xrnge mppings: dict files:

More information

CSE 401 Midterm Exam 11/5/10 Sample Solution

CSE 401 Midterm Exam 11/5/10 Sample Solution Question 1. egulr expressions (20 points) In the Ad Progrmming lnguge n integer constnt contins one or more digits, but it my lso contin embedded underscores. Any underscores must be preceded nd followed

More information

5 Regular 4-Sided Composition

5 Regular 4-Sided Composition Xilinx-Lv User Guide 5 Regulr 4-Sided Composition This tutoril shows how regulr circuits with 4-sided elements cn be described in Lv. The type of regulr circuits tht re discussed in this tutoril re those

More information

CS201 Discussion 10 DRAWTREE + TRIES

CS201 Discussion 10 DRAWTREE + TRIES CS201 Discussion 10 DRAWTREE + TRIES DrwTree First instinct: recursion As very generic structure, we could tckle this problem s follows: drw(): Find the root drw(root) drw(root): Write the line for the

More information

Basics of Logic Design Arithmetic Logic Unit (ALU)

Basics of Logic Design Arithmetic Logic Unit (ALU) Bsics of Logic Design Arithmetic Logic Unit (ALU) CPS 4 Lecture 9 Tody s Lecture Homework #3 Assigned Due Mrch 3 Project Groups ssigned & posted to lckord. Project Specifiction is on We Due April 9 Building

More information

EECS 281: Homework #4 Due: Thursday, October 7, 2004

EECS 281: Homework #4 Due: Thursday, October 7, 2004 EECS 28: Homework #4 Due: Thursdy, October 7, 24 Nme: Emil:. Convert the 24-bit number x44243 to mime bse64: QUJD First, set is to brek 8-bit blocks into 6-bit blocks, nd then convert: x44243 b b 6 2 9

More information

Systems I. Logic Design I. Topics Digital logic Logic gates Simple combinational logic circuits

Systems I. Logic Design I. Topics Digital logic Logic gates Simple combinational logic circuits Systems I Logic Design I Topics Digitl logic Logic gtes Simple comintionl logic circuits Simple C sttement.. C = + ; Wht pieces of hrdwre do you think you might need? Storge - for vlues,, C Computtion

More information

Control-Flow Analysis and Loop Detection

Control-Flow Analysis and Loop Detection ! Control-Flow Anlysis nd Loop Detection!Lst time! PRE!Tody! Control-flow nlysis! Loops! Identifying loops using domintors! Reducibility! Using loop identifiction to identify induction vribles CS553 Lecture

More information

Lecture Overview. Knowledge-based systems in Bioinformatics, 1MB602. Procedural abstraction. The sum procedure. Integration as a procedure

Lecture Overview. Knowledge-based systems in Bioinformatics, 1MB602. Procedural abstraction. The sum procedure. Integration as a procedure Lecture Overview Knowledge-bsed systems in Bioinformtics, MB6 Scheme lecture Procedurl bstrction Higher order procedures Procedures s rguments Procedures s returned vlues Locl vribles Dt bstrction Compound

More information

1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES)

1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES) Numbers nd Opertions, Algebr, nd Functions 45. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES) In sequence of terms involving eponentil growth, which the testing service lso clls geometric

More information

Virtual Machine (Part I)

Virtual Machine (Part I) Hrvrd University CS Fll 2, Shimon Schocken Virtul Mchine (Prt I) Elements of Computing Systems Virtul Mchine I (Ch. 7) Motivtion clss clss Min Min sttic sttic x; x; function function void void min() min()

More information

pdfapilot Server 2 Manual

pdfapilot Server 2 Manual pdfpilot Server 2 Mnul 2011 by clls softwre gmbh Schönhuser Allee 6/7 D 10119 Berlin Germny info@cllssoftwre.com www.cllssoftwre.com Mnul clls pdfpilot Server 2 Pge 2 clls pdfpilot Server 2 Mnul Lst modified:

More information

EasyMP Multi PC Projection Operation Guide

EasyMP Multi PC Projection Operation Guide EsyMP Multi PC Projection Opertion Guide Contents 2 Introduction to EsyMP Multi PC Projection 5 EsyMP Multi PC Projection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters

More information

Epson iprojection Operation Guide (Windows/Mac)

Epson iprojection Operation Guide (Windows/Mac) Epson iprojection Opertion Guide (Windows/Mc) Contents 2 Introduction to Epson iprojection 5 Epson iprojection Fetures... 6 Connection to Vrious Devices... 6 Four-Pnel Disply... 6 Chnge Presenters nd Projection

More information

PYTHON PROGRAMMING. The History of Python. Features of Python. This Course

PYTHON PROGRAMMING. The History of Python. Features of Python. This Course The History of Python PYTHON PROGRAMMING Dr Christin Hill 7 9 November 2016 Invented by Guido vn Rossum* t the Centrum Wiskunde & Informtic in Amsterdm in the erly 1990s Nmed fter Monty Python s Flying

More information

INTRODUCTION TO SIMPLICIAL COMPLEXES

INTRODUCTION TO SIMPLICIAL COMPLEXES INTRODUCTION TO SIMPLICIAL COMPLEXES CASEY KELLEHER AND ALESSANDRA PANTANO 0.1. Introduction. In this ctivity set we re going to introduce notion from Algebric Topology clled simplicil homology. The min

More information

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables

George Boole. IT 3123 Hardware and Software Concepts. Switching Algebra. Boolean Functions. Boolean Functions. Truth Tables George Boole IT 3123 Hrdwre nd Softwre Concepts My 28 Digitl Logic The Little Mn Computer 1815 1864 British mthemticin nd philosopher Mny contriutions to mthemtics. Boolen lger: n lger over finite sets

More information

Lexical Analysis. Amitabha Sanyal. (www.cse.iitb.ac.in/ as) Department of Computer Science and Engineering, Indian Institute of Technology, Bombay

Lexical Analysis. Amitabha Sanyal. (www.cse.iitb.ac.in/ as) Department of Computer Science and Engineering, Indian Institute of Technology, Bombay Lexicl Anlysis Amith Snyl (www.cse.iit.c.in/ s) Deprtment of Computer Science nd Engineering, Indin Institute of Technology, Bomy Septemer 27 College of Engineering, Pune Lexicl Anlysis: 2/6 Recp The input

More information

Mid-term exam. Scores. Fall term 2012 KAIST EE209 Programming Structures for EE. Thursday Oct 25, Student's name: Student ID:

Mid-term exam. Scores. Fall term 2012 KAIST EE209 Programming Structures for EE. Thursday Oct 25, Student's name: Student ID: Fll term 2012 KAIST EE209 Progrmming Structures for EE Mid-term exm Thursdy Oct 25, 2012 Student's nme: Student ID: The exm is closed book nd notes. Red the questions crefully nd focus your nswers on wht

More information

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5 CS321 Lnguges nd Compiler Design I Winter 2012 Lecture 5 1 FINITE AUTOMATA A non-deterministic finite utomton (NFA) consists of: An input lphet Σ, e.g. Σ =,. A set of sttes S, e.g. S = {1, 3, 5, 7, 11,

More information

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment

File Manager Quick Reference Guide. June Prepared for the Mayo Clinic Enterprise Kahua Deployment File Mnger Quick Reference Guide June 2018 Prepred for the Myo Clinic Enterprise Khu Deployment NVIGTION IN FILE MNGER To nvigte in File Mnger, users will mke use of the left pne to nvigte nd further pnes

More information

Fig.25: the Role of LEX

Fig.25: the Role of LEX The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing

More information

ASTs, Regex, Parsing, and Pretty Printing

ASTs, Regex, Parsing, and Pretty Printing ASTs, Regex, Prsing, nd Pretty Printing CS 2112 Fll 2016 1 Algeric Expressions To strt, consider integer rithmetic. Suppose we hve the following 1. The lphet we will use is the digits {0, 1, 2, 3, 4, 5,

More information

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results

Lab 1 - Counter. Create a project. Add files to the project. Compile design files. Run simulation. Debug results 1 L 1 - Counter A project is collection mechnism for n HDL design under specifiction or test. Projects in ModelSim ese interction nd re useful for orgnizing files nd specifying simultion settings. The

More information

Sample Midterm Solutions COMS W4115 Programming Languages and Translators Monday, October 12, 2009

Sample Midterm Solutions COMS W4115 Programming Languages and Translators Monday, October 12, 2009 Deprtment of Computer cience Columbi University mple Midterm olutions COM W4115 Progrmming Lnguges nd Trnsltors Mondy, October 12, 2009 Closed book, no ids. ch question is worth 20 points. Question 5(c)

More information

From Dependencies to Evaluation Strategies

From Dependencies to Evaluation Strategies From Dependencies to Evlution Strtegies Possile strtegies: 1 let the user define the evlution order 2 utomtic strtegy sed on the dependencies: use locl dependencies to determine which ttriutes to compute

More information

Stack. A list whose end points are pointed by top and bottom

Stack. A list whose end points are pointed by top and bottom 4. Stck Stck A list whose end points re pointed by top nd bottom Insertion nd deletion tke plce t the top (cf: Wht is the difference between Stck nd Arry?) Bottom is constnt, but top grows nd shrinks!

More information

cisc1110 fall 2010 lecture VI.2 call by value function parameters another call by value example:

cisc1110 fall 2010 lecture VI.2 call by value function parameters another call by value example: cisc1110 fll 2010 lecture VI.2 cll y vlue function prmeters more on functions more on cll y vlue nd cll y reference pssing strings to functions returning strings from functions vrile scope glol vriles

More information

Agilent Mass Hunter Software

Agilent Mass Hunter Software Agilent Mss Hunter Softwre Quick Strt Guide Use this guide to get strted with the Mss Hunter softwre. Wht is Mss Hunter Softwre? Mss Hunter is n integrl prt of Agilent TOF softwre (version A.02.00). Mss

More information

EasyMP Network Projection Operation Guide

EasyMP Network Projection Operation Guide EsyMP Network Projection Opertion Guide Contents 2 Introduction to EsyMP Network Projection EsyMP Network Projection Fetures... 5 Disply Options... 6 Multi-Screen Disply Function... 6 Movie Sending Mode...

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1 Mth 33 Volume Stewrt 5.2 Geometry of integrls. In this section, we will lern how to compute volumes using integrls defined by slice nlysis. First, we recll from Clculus I how to compute res. Given the

More information

Dr. D.M. Akbar Hussain

Dr. D.M. Akbar Hussain Dr. D.M. Akr Hussin Lexicl Anlysis. Bsic Ide: Red the source code nd generte tokens, it is similr wht humns will do to red in; just tking on the input nd reking it down in pieces. Ech token is sequence

More information

Fall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications.

Fall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications. 15-112 Fll 2018 Midterm 1 October 11, 2018 Nme: Andrew ID: Recittion Section: ˆ You my not use ny books, notes, extr pper, or electronic devices during this exm. There should be nothing on your desk or

More information

A Transportation Problem Analysed by a New Ranking Method

A Transportation Problem Analysed by a New Ranking Method (IJIRSE) Interntionl Journl of Innovtive Reserch in Science & Engineering ISSN (Online) 7-07 A Trnsporttion Problem Anlysed by New Rnking Method Dr. A. Shy Sudh P. Chinthiy Associte Professor PG Scholr

More information

Epson Projector Content Manager Operation Guide

Epson Projector Content Manager Operation Guide Epson Projector Content Mnger Opertion Guide Contents 2 Introduction to the Epson Projector Content Mnger Softwre 3 Epson Projector Content Mnger Fetures... 4 Setting Up the Softwre for the First Time

More information

COMPUTER SCIENCE 123. Foundations of Computer Science. 6. Tuples

COMPUTER SCIENCE 123. Foundations of Computer Science. 6. Tuples COMPUTER SCIENCE 123 Foundtions of Computer Science 6. Tuples Summry: This lecture introduces tuples in Hskell. Reference: Thompson Sections 5.1 2 R.L. While, 2000 3 Tuples Most dt comes with structure

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Complete Coverage Path Planning of Mobile Robot Based on Dynamic Programming Algorithm Peng Zhou, Zhong-min Wang, Zhen-nan Li, Yang Li

Complete Coverage Path Planning of Mobile Robot Based on Dynamic Programming Algorithm Peng Zhou, Zhong-min Wang, Zhen-nan Li, Yang Li 2nd Interntionl Conference on Electronic & Mechnicl Engineering nd Informtion Technology (EMEIT-212) Complete Coverge Pth Plnning of Mobile Robot Bsed on Dynmic Progrmming Algorithm Peng Zhou, Zhong-min

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Lecture T4: Pattern Matching

Lecture T4: Pattern Matching Introduction to Theoreticl CS Lecture T4: Pttern Mtching Two fundmentl questions. Wht cn computer do? How fst cn it do it? Generl pproch. Don t tlk bout specific mchines or problems. Consider miniml bstrct

More information

1 Quad-Edge Construction Operators

1 Quad-Edge Construction Operators CS48: Computer Grphics Hndout # Geometric Modeling Originl Hndout #5 Stnford University Tuesdy, 8 December 99 Originl Lecture #5: 9 November 99 Topics: Mnipultions with Qud-Edge Dt Structures Scribe: Mike

More information

Stained Glass Design. Teaching Goals:

Stained Glass Design. Teaching Goals: Stined Glss Design Time required 45-90 minutes Teching Gols: 1. Students pply grphic methods to design vrious shpes on the plne.. Students pply geometric trnsformtions of grphs of functions in order to

More information

Preserving Constraints for Aggregation Relationship Type Update in XML Document

Preserving Constraints for Aggregation Relationship Type Update in XML Document Preserving Constrints for Aggregtion Reltionship Type Updte in XML Document Eric Prdede 1, J. Wenny Rhyu 1, nd Dvid Tnir 2 1 Deprtment of Computer Science nd Computer Engineering, L Trobe University, Bundoor

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Pointers and Arrays. More Pointer Examples. Pointers CS 217

Pointers and Arrays. More Pointer Examples. Pointers CS 217 Pointers nd Arrs CS 21 1 2 Pointers More Pointer Emples Wht is pointer A vrile whose vlue is the ddress of nother vrile p is pointer to vrile v Opertions &: ddress of (reference) *: indirection (dereference)

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

COMPUTER EDUCATION TECHNIQUES, INC. (MS_W2K3_SERVER ) SA:

COMPUTER EDUCATION TECHNIQUES, INC. (MS_W2K3_SERVER ) SA: In order to lern which questions hve een nswered correctly: 1. Print these pges. 2. Answer the questions. 3. Send this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following

More information

UNIT 11. Query Optimization

UNIT 11. Query Optimization UNIT Query Optimiztion Contents Introduction to Query Optimiztion 2 The Optimiztion Process: An Overview 3 Optimiztion in System R 4 Optimiztion in INGRES 5 Implementing the Join Opertors Wei-Png Yng,

More information

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

In the last lecture, we discussed how valid tokens may be specified by regular expressions. LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

OPERATION MANUAL. DIGIFORCE 9307 PROFINET Integration into TIA Portal

OPERATION MANUAL. DIGIFORCE 9307 PROFINET Integration into TIA Portal OPERATION MANUAL DIGIFORCE 9307 PROFINET Integrtion into TIA Portl Mnufcturer: 2018 burster präzisionsmesstechnik gmbh & co kg burster präzisionsmesstechnik gmbh & co kg Alle Rechte vorbehlten Tlstrße

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1): Overview (): Before We Begin Administrtive detils Review some questions to consider Winter 2006 Imge Enhncement in the Sptil Domin: Bsics of Sptil Filtering, Smoothing Sptil Filters, Order Sttistics Filters

More information

Exam #1 for Computer Simulation Spring 2005

Exam #1 for Computer Simulation Spring 2005 Exm # for Computer Simultion Spring 005 >>> SOLUTION

More information

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

Virtual Machine I: Stack Arithmetic

Virtual Machine I: Stack Arithmetic Virtul Mchine I: Stck Arithmetic Building Modern Computer From First Principles www.nnd2tetris.org Elements of Computing Systems, Nisn & Schocken, MIT Press, www.nnd2tetris.org, Chpter 7: Virtul Mchine

More information

MATLAB Session for CS4514

MATLAB Session for CS4514 MATLAB Session for CS4514 Adrin Her her @wpi.edu Computing & Communictions Center - November 28, 2006- Prt of the notes re from Mtlb documenttion 1 MATLAB Session for CS4514 1. Mtlb Bsics Strting Mtlb

More information

On the Detection of Step Edges in Algorithms Based on Gradient Vector Analysis

On the Detection of Step Edges in Algorithms Based on Gradient Vector Analysis On the Detection of Step Edges in Algorithms Bsed on Grdient Vector Anlysis A. Lrr6, E. Montseny Computer Engineering Dept. Universitt Rovir i Virgili Crreter de Slou sin 43006 Trrgon, Spin Emil: lrre@etse.urv.es

More information

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example:

box Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example: Boxes nd Arrows There re two kinds of vriles in Jv: those tht store primitive vlues nd those tht store references. Primitive vlues re vlues of type long, int, short, chr, yte, oolen, doule, nd flot. References

More information

Fall 2017 Midterm Exam 1 October 19, You may not use any books, notes, or electronic devices during this exam.

Fall 2017 Midterm Exam 1 October 19, You may not use any books, notes, or electronic devices during this exam. 15-112 Fll 2017 Midterm Exm 1 October 19, 2017 Nme: Andrew ID: Recittion Section: You my not use ny books, notes, or electronic devices during this exm. You my not sk questions bout the exm except for

More information

Spring 2018 Midterm Exam 1 March 1, You may not use any books, notes, or electronic devices during this exam.

Spring 2018 Midterm Exam 1 March 1, You may not use any books, notes, or electronic devices during this exam. 15-112 Spring 2018 Midterm Exm 1 Mrch 1, 2018 Nme: Andrew ID: Recittion Section: You my not use ny books, notes, or electronic devices during this exm. You my not sk questions bout the exm except for lnguge

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-188 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di

- 2 U NIX FILES 1. Explin different file types vilble in UNIX or P OSIX s ystem. ( 08 mrks) ( My-08/Dec-08/My-10/My- 12) 2. Wht is n API? How is it di -1 I NTRODUCTION 1. Wht is posix stndrd? Explin different subset of posix stndrd. Write structure of progrm to filter out non- p osix complint codes from user progrm. ( 06 mrks) ( Dec- 2010). 2. W rite

More information

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012 Dynmic Progrmming Andres Klppenecker [prtilly bsed on slides by Prof. Welch] 1 Dynmic Progrmming Optiml substructure An optiml solution to the problem contins within it optiml solutions to subproblems.

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

A Formalism for Functionality Preserving System Level Transformations

A Formalism for Functionality Preserving System Level Transformations A Formlism for Functionlity Preserving System Level Trnsformtions Smr Abdi Dniel Gjski Center for Embedded Computer Systems UC Irvine Center for Embedded Computer Systems UC Irvine Irvine, CA 92697 Irvine,

More information

Lexical analysis, scanners. Construction of a scanner

Lexical analysis, scanners. Construction of a scanner Lexicl nlysis scnners (NB. Pges 4-5 re for those who need to refresh their knowledge of DFAs nd NFAs. These re not presented during the lectures) Construction of scnner Tools: stte utomt nd trnsition digrms.

More information

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1

vcloud Director Service Provider Admin Portal Guide vcloud Director 9.1 vcloud Director Service Provider Admin Portl Guide vcloud Director 9. vcloud Director Service Provider Admin Portl Guide You cn find the most up-to-dte technicl documenttion on the VMwre website t: https://docs.vmwre.com/

More information

Data sharing in OpenMP

Data sharing in OpenMP Dt shring in OpenMP Polo Burgio polo.burgio@unimore.it Outline Expressing prllelism Understnding prllel threds Memory Dt mngement Dt cluses Synchroniztion Brriers, locks, criticl sections Work prtitioning

More information

Media Player Using Media Player Downloading Media Files Playing Music Playing Movie Using Playlist...

Media Player Using Media Player Downloading Media Files Playing Music Playing Movie Using Playlist... Using... -2 Downloding Medi Files... -3 Downloding Music & Movies...-3 Sving Medi Files to Phone/Memory Crd...-3 Plying Music... -3 Music Window...-4 Plying Music...-4 Plying Movie... -5 Movie Window...-6

More information

Today s Lecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Recursive Example. Review: The C / C++ code. Recursive Example (Continued)

Today s Lecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Recursive Example. Review: The C / C++ code. Recursive Example (Continued) Tod s Lecture Bsics of Logic Design: Boolen Alger, Logic Gtes Alvin R. Leeck CPS 4 Lecture 8 Homework #2 Due Ferur 3 Outline Review (sseml recursion) Building the uilding locks Logic Design Truth tles,

More information

UT1553B BCRT True Dual-port Memory Interface

UT1553B BCRT True Dual-port Memory Interface UTMC APPICATION NOTE UT553B BCRT True Dul-port Memory Interfce INTRODUCTION The UTMC UT553B BCRT is monolithic CMOS integrted circuit tht provides comprehensive MI-STD- 553B Bus Controller nd Remote Terminl

More information

12-B FRACTIONS AND DECIMALS

12-B FRACTIONS AND DECIMALS -B Frctions nd Decimls. () If ll four integers were negtive, their product would be positive, nd so could not equl one of them. If ll four integers were positive, their product would be much greter thn

More information

CMPSC 470: Compiler Construction

CMPSC 470: Compiler Construction CMPSC 47: Compiler Construction Plese complete the following: Midterm (Type A) Nme Instruction: Mke sure you hve ll pges including this cover nd lnk pge t the end. Answer ech question in the spce provided.

More information

Engineer To Engineer Note

Engineer To Engineer Note Engineer To Engineer Note EE-186 Technicl Notes on using Anlog Devices' DSP components nd development tools Contct our technicl support by phone: (800) ANALOG-D or e-mil: dsp.support@nlog.com Or visit

More information

E/ECE/324/Rev.2/Add.112/Rev.3/Amend.1 E/ECE/TRANS/505/Rev.2/Add.112/Rev.3/Amend.1

E/ECE/324/Rev.2/Add.112/Rev.3/Amend.1 E/ECE/TRANS/505/Rev.2/Add.112/Rev.3/Amend.1 6 August 2013 Agreement Concerning the Adoption of Uniform Technicl rescriptions for Wheeled Vehicles, Equipment nd rts which cn be itted nd/or be Used on Wheeled Vehicles nd the Conditions for Reciprocl

More information

Misrepresentation of Preferences

Misrepresentation of Preferences Misrepresenttion of Preferences Gicomo Bonnno Deprtment of Economics, University of Cliforni, Dvis, USA gfbonnno@ucdvis.edu Socil choice functions Arrow s theorem sys tht it is not possible to extrct from

More information

2014 Haskell January Test Regular Expressions and Finite Automata

2014 Haskell January Test Regular Expressions and Finite Automata 0 Hskell Jnury Test Regulr Expressions nd Finite Automt This test comprises four prts nd the mximum mrk is 5. Prts I, II nd III re worth 3 of the 5 mrks vilble. The 0 Hskell Progrmming Prize will be wrded

More information

Tool Vendor Perspectives SysML Thus Far

Tool Vendor Perspectives SysML Thus Far Frontiers 2008 Pnel Georgi Tec, 05-13-08 Tool Vendor Perspectives SysML Thus Fr Hns-Peter Hoffmnn, Ph.D Chief Systems Methodologist Telelogic, Systems & Softwre Modeling Business Unit Peter.Hoffmnn@telelogic.com

More information

Agenda & Reading. Class Exercise. COMPSCI 105 SS 2012 Principles of Computer Science. Arrays

Agenda & Reading. Class Exercise. COMPSCI 105 SS 2012 Principles of Computer Science. Arrays COMPSCI 5 SS Principles of Computer Science Arrys & Multidimensionl Arrys Agend & Reding Agend Arrys Creting & Using Primitive & Reference Types Assignments & Equlity Pss y Vlue & Pss y Reference Copying

More information

Engineer-to-Engineer Note

Engineer-to-Engineer Note Engineer-to-Engineer Note EE-204 Technicl notes on using Anlog Devices DSPs, processors nd development tools Visit our Web resources http://www.nlog.com/ee-notes nd http://www.nlog.com/processors or e-mil

More information

PARALLEL AND DISTRIBUTED COMPUTING

PARALLEL AND DISTRIBUTED COMPUTING PARALLEL AND DISTRIBUTED COMPUTING 2009/2010 1 st Semester Teste Jnury 9, 2010 Durtion: 2h00 - No extr mteril llowed. This includes notes, scrtch pper, clcultor, etc. - Give your nswers in the ville spce

More information

LAB L Hardware Building Blocks

LAB L Hardware Building Blocks LAB L Hrdwre Building Blocks Perform the following groups of tsks: LL1.v 1. In previous l we creted the 2-to-1 mux shown in the left prt of the figure elow nd found tht it cts s n if sttement. c c 0 1

More information

View, evaluate, and publish assignments using the Assignment dropbox.

View, evaluate, and publish assignments using the Assignment dropbox. Blckord Lerning System CE 6 Mnging Assignments Competencies After reding this document, you will e le to: Crete ssignments using the Assignment tool. View, evlute, nd pulish ssignments using the Assignment

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Topic: Software Model Checking via Counter-Example Guided Abstraction Refinement. Having a BLAST with SLAM. Combining Strengths. SLAM Overview SLAM

Topic: Software Model Checking via Counter-Example Guided Abstraction Refinement. Having a BLAST with SLAM. Combining Strengths. SLAM Overview SLAM Hving BLAST with SLAM Topic: Softwre Model Checking vi Counter-Exmple Guided Abstrction Refinement There re esily two dozen SLAM/BLAST/MAGIC ppers; I will skim. # # Theorem Proving Combining Strengths

More information

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course

L. Yaroslavsky. Fundamentals of Digital Image Processing. Course L. Yroslvsky. Fundmentls of Digitl Imge Processing. Course 0555.330 Lecture. Imge enhncement.. Imge enhncement s n imge processing tsk. Clssifiction of imge enhncement methods Imge enhncement is processing

More information