Pedram

Pedram Sadeghian

Lecturer of Computer Science

Email: pedram at cs dot umd dot edu

Office: 3267 A.V. Williams

Thread myTask = new Thread(() -> {
	introduce();
});
		

Spring 2019

CMSC 122

CMSC 131

int main() {
   pid_t newTerm_pid;
   if ((newTerm_pid = fork()) < 0) {
	err(EX_OSERR, "Inbetween Semesters");
   }
   if (newTerm_pid != 0) { 
	int status;
	wait(&status);  
	if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
		printf("End of the Semester :)\n");}
	} 
   else { 
	execlp("./teach", "teach", NULL);
	}
	return 0;
}
	

Fall 2018

CMSC 132

CMSC 216

Spring 2018

CMSC 132

CMSC 216

Spring 2017 and older

push ebp;
mov ebp,esp;
; teach the class
pop ebp;
ret;

CS@umd

undergrad@cs

eclipse for CMSC131/132

reference for Java

	
public static void main(String[] args) {
	LinkedList <Course> list = new LinkedList<Course>();
	//Some calls to add
	list.add(new Course("CMSC216");
	list.add(new Course("CMSC132");
	list.add(new Course("CMSC131");
	System.out.println(list);
}