This file contains 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
create table mark (sid number(5) primary key, m1 number(3), m2 number(3), m3 number(3)); | |
create table fail (sid number(5) primary key, m1 number(3), m2 number(3), m3 number(3)); | |
create or replace trigger failtrigger | |
before insert on mark | |
for each row | |
declare | |
v_total number(3); | |
begin |
This file contains 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
create table mark (sid number(5) primary key, m1 number(3), m2 number(3), m3 number(3)); | |
create table fail (sid number(5) primary key, m1 number(3), m2 number(3), m3 number(3)); | |
create or replace trigger failtrigger | |
after insert on mark | |
for each row | |
declare | |
v_total number(3); | |
begin |
This file contains 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<stdio.h> | |
#include<graphics.h> | |
#include<dos.h> | |
void main() { | |
int gd = DETECT, gm, gate, fx, fy, ax, ay, bx, by; | |
union REGS i, o; | |
initgraph(&gd, &gm, "C:\\TurboC3\\BGI"); | |
i.x.ax = 0; | |
int86(0x33, &i, &o); |
This file contains 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<stdio.h> | |
#include<process.h> | |
#include<dos.h> | |
void main() { | |
char loc[50], filename[50], oldname[50], ch; | |
int opr, gate = 1; | |
long int attr; | |
union REGS inreg, outreg; | |
clrscr(); |
This file contains 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<stdio.h> | |
#include<conio.h> | |
#include<process.h> | |
#include<dos.h> | |
void main() { | |
int opr, gate = 1; | |
union REGS inreg, outreg; | |
char dname[20]; | |
clrscr(); |
This file contains 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<graphics.h> | |
#include<conio.h> | |
#include<dos.h> | |
#include<stdlib.h> | |
#include<math.h> | |
union REGS i, o; | |
int initmouse() | |
{ |
This file contains 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
import urllib2, urllib, os | |
print "Result Downloader" | |
count = 0 | |
sta_no = int(raw_input("Enter First Reg Number : ")) | |
end_no = int(raw_input("Enter Last Reg Number : ")) | |
for i in xrange(int(sta_no), int(end_no)): | |
data = urllib.urlencode({'exam': '59', 'prn': i}) | |
req = urllib2.Request('http://projects.mgu.ac.in/bTech/btechresult/index.php?module=public&attrib=result&page=result', data) | |
if (req == urllib2.URLError): | |
continue |