This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| int flag = 0; | |
| struct Node | |
| { | |
| string info; | |
| struct Node *link; | |
| }*start; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| struct Node | |
| { | |
| string info; | |
| struct Node *link; | |
| }*start; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<conio.h> | |
| #include<string.h> | |
| #include<ctype.h> | |
| #include<stdio.h> | |
| class Lex_Ana | |
| { | |
| public : | |
| int i,j,k,ti,oprfl,delfl,keyfl,Litfl,cLitfl,ptfl,tfl,mxIdeni,Liti,mxIdenj,mxOpri,mxOprj,mxDeli,Erri; | |
| int uqIdi,uqOpi,uqDei,defOpi,defKeyi,cLiti; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .model small | |
| .stack 100h | |
| .data | |
| q1 db '1.What is the input register of function INT 10h / AH = 0Eh? a. AL b. BL $' | |
| q2 db '2.What is the output register of function INT 21h / AH = 09h? a. AX b. DX $' | |
| q3 db '3.Which function returns the control to Operating System? a. INT 10h/AH=0eh b. INT 21h/AH=4C00h $' | |
| q4 db '4.Which assembly operation puts a value into stack? a.push b.pop $' | |
| q5 db '5.Which assembly operation removes a value from topmost of stack? a. pop b.push $' | |
| q6 db '6.Which function sets the video mode? a. INT 21h/AH=4C00h b. INT 10h / AH = 0 $' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .model small | |
| .stack 100h | |
| .data | |
| q1 db '1.What is the input register of function INT 10h / AH = 0Eh? a. AL b. BL $' | |
| q2 db '2.What is the output register of function INT 21h / AH = 09h? a. AX b. DX $' | |
| q3 db '3.Which function returns the control to Operating System? a. INT 10h/AH=0eh b. INT 21h/AH=4C00h $' | |
| q4 db '4.Which assembly operation puts a value into stack? a.push b.pop $' | |
| q5 db '5.Which assembly operation removes a value from topmost of stack? a. pop b.push $' | |
| q6 db '6.Which function sets the video mode? a. INT 21h/AH=4C00h b. INT 10h / AH = 0 $' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Case Study | |
| 1.Create a program that will ask | |
| the user to input their name, course | |
| ans section, student number Then | |
| Display it again to the screen | |
| 2. Create a program that will allow the user | |
| to input a string. Display the reverse input | |
| string if the user input a period. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .model small | |
| .stack 100h | |
| .data | |
| nameInput db 'Name: $' | |
| courseInput db 'Course: $' | |
| sectionInput db 'Section $' | |
| namex db 08h, ?,08 DUP ('$') | |
| sectionx db 08h, ?,08 DUP ('$') | |
| coursex db 08h, ?,08 DUP ('$') | |
| newline db 10,13,'$' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .model small | |
| .stack 100h | |
| .data | |
| nameInput db 'Name: $' | |
| courseInput db 'Course: $' | |
| sectionInput db 'Section $' | |
| namex db 08h, ?,08 DUP ('$') | |
| sectionx db 08h, ?,08 DUP ('$') | |
| coursex db 08h, ?,08 DUP ('$') | |
| newline db 10,13,'$' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <math.h> | |
| #include <sys/time.h> | |
| #include <X11/Xlib.h> | |
| #include <X11/keysym.h> | |
| double L ,o ,P | |
| ,_=dt,T,Z,D=1,d, | |
| s[999],E,h= 8,I, | |
| J,K,w[999],M,m,O | |
| ,n[999],j=33e-3,i= | |
| 1E3,r,t, u,v ,W,S= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HAHAHAHAHHAHA |