Complain about finals thread

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ninjafury
    Liquidsmooth
    • Dec 2005
    • 563

    #16
    Re: Complain about finals thread

    Java (sem 2) finals thursday
    Information Systems and Databases final thursday
    Technical writing final thursday
    Accounting 2 final thursday

    yeah... thursday sucks
    Half Asian Half White, 100% Whasian

    Comment

    • Rubin0
      FFR Player
      • Jun 2006
      • 1276

      #17
      Re: Complain about finals thread

      It's my last semester so I took all easy classes. I only have one real final and the rest of my classes I have papers to write.
      The weight of what I say depends on how you feel.

      Comment

      • Wineandbread
        Custom User Title
        • Oct 2007
        • 2105

        #18
        Re: Complain about finals thread

        I only have two finals (college fresh representin') and a paper due this week

        Physics final wasn't too bad I don't think, calc final will suck major cock I'm sure
        Paper is paper, I hate formal writing

        Opted out of my materials science final cause apparently it's optional B)
        Originally posted by Gundam-Dude
        my semen is flying through the air as we speak
        We climb up a lot of ladders, and fall down a lot of chutes.

        Taking "all" oddjobs! PM me requests. Requests filled: 2 last active Mar. 6th, 2017


        Keep it real pls. Will deny requests I cannot manage.


        Comment

        • Izzy
          Snek
          FFR Simfile Author
          • Jan 2003
          • 9195

          #19
          Re: Complain about finals thread

          I think this should work on multiple threads to multiply two arrays together. Now I just have to write an MPI version and write a report and do some analysis.

          Code:
          #include <pthread.h>
          #include <stdio.h>
          #include <stdlib.h>
          #include <string.h>
          
          #define NUM_THREADS 4
          
          #define ARRAY_SIZE 1000000
          
          pthread_mutex_t mutexsum;
          
          float array_one[ARRAY_SIZE]
          float array_two[ARRAY_SIZE]
          float multiply_total[ARRAY_SIZE];	
          
          // Return a random number between 1-9
          float getRandomNumber()
          {
          	return ((float)rand() % 10) / ((float)RAND_MAX % 10);
          }
          
          // Set the two arrays to random numbers
          void init_arrays()
          {
          	int i;
          	
          	printf("Initializing arrays.\n")
          	pthread_mutex_init(&mutexsum, NULL);
          
          	for ( i = 0; i < ARRAY_SIZE; i++) {
          		array_one[i] = getRandomNumber();
          		array_two[i] = getRandomNumber();
          	}
          
          	for ( i = 0; i < ARRAY_SIZE; i++ ) {
          		multiply_total[i] = 0;
          	}
          }
          
          // multiply arrays together
          void *multiply_arrays(void *myID)
          {
          	int i; 
          	float local_multiply_total[ARRAY_SIZE / NUM_THREADS];
          
          	int startPos = ((int) myID) * (ARRAY_SIZE / NUM_THREADS);
          	int endPos = startPos + (ARRAY_SIZE / NUM_THREADS);
          
          	printf("myID = %d startPos = %d endPos = %d \n", (int) myID, startPos, endPos);
          
          	// initialize local total array
          	for ( i = 0; i < ARRAY_SIZE / NUM_THREADS; i++ ) {
          		local_multiply_total[i] = 0;
          	}
          	
          	// count up our section of the global arrays
          	for ( i = startPos; i < endPos; i++) {
          		local_multiply_total[i] = array_one[i] * array_two[i];
          	}
          	
          	// multiply up the partial counts into the global arrays
          	pthread_mutex_lock (&mutexsum);
          	for ( i = startPos; i < endPos; i++ ) {
          		multiply_total[i] = local_multiply_total[i];
          	}
          	
          	// release the locks
          	pthread_mutex_unlock (&mutexsum);
          	pthread_exit(NULL);
          }
          
          // Print multiplied array
          void print_results()
          {
          	int i;
          	int total = 0;
          
            	// print out the multiplied array
          	for ( i = 0; i < ARRAY_SIZE; i++ ) {
          		//total += char_counts[i];
          		printf("%f - ", multiply_total[i]);
          	}
          }
          
          main() {
          
          	// Declare variables and array of threads
          	int i;
          	int rc;
          	pthread_t threads[NUM_THREADS];
          	pthread_attr_t attr;
          	void *status;
          	srand(time(0));
          	
          	// Initialize and set thread attribute
          	pthread_attr_init(&attr);
          	pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
          
          	init_arrays();
          
          	// Create threads and give them work
          	for (i = 0; i < NUM_THREADS; i++ ) {
          	      rc = pthread_create(&threads[i], &attr, multiply_arrays, (void *)i);
          	      if (rc) {
          	        printf("ERROR; return code from pthread_create() is %d\n", rc);
          		exit(-1);
          	      }
          	}
          
          	// Free attribute and join threads once they complete their work
          	pthread_attr_destroy(&attr);
          	for(i=0; i<NUM_THREADS; i++) {
          	     rc = pthread_join(threads[i], &status);
          	     if (rc) {
          		   printf("ERROR; return code from pthread_join() is %d\n", rc);
          		   exit(-1);
          	     }
          	}
          
          	// Print multiplied arrays
          	print_results();
          
          	// Destroy locks and exit pthread
          	pthread_mutex_destroy(&mutexsum);
          	printf("Main: program completed. Exiting.\n");
          	pthread_exit(NULL);
          }

          Comment

          • cry4eternity
            ~ added for cuteness
            FFR Simfile Author
            • Jan 2007
            • 979

            #20
            Re: Complain about finals thread

            Had 3 final projects due yesterday. That was a fun weekend.

            I'm retired

            Comment

            • Bluearrowll
              ⊙▃⊙
              FFR Simfile Author
              • Nov 2007
              • 7376

              #21
              Re: Complain about finals thread

              History - 12/7/10 - 2.5 hours, 40%, 2 essays and 10 MC. (Done!)
              Global Management - 12/8/10 - 2 hours, 40%, 120 multiple choice questions
              Statistics - 12/9/10 - 3 hours, 50%, all problem solving.
              Organizational Behaviour - 12/15/10 - 3 hours, 30%, multiple choice 50%, case studies 50%.
              Marketing - 12/16/10 - 3 hours, all multiple choice.
              1st in Kommisar's 2009 SM Tournament
              1st in I Love You`s 2009 New Year`s Tournament
              3rd in EnR's Mashfest '08 tournament
              5th in Phynx's Unofficial FFR Tournament
              9th in D3 of the 2008-2009 4th Official FFR Tournament
              10th in D5 of the 2010 5th Official FFR Tournament
              10th in D6 of the 2011-2012 6th Official FFR Tournament

              FMO AAA Count: 71
              FGO AAA Count: 10

              Bluearrowll = The Canadian player who can not detect awkward patterns. If it's awkward for most people, it's normal for Terry. If the file is difficult but super straight forward, he has issues. If he's AAAing a FGO but then heard that his favorite Hockey team was losing by a point, Hockey > FFR
              PS: Cool AAA's Terry
              - I Love You


              An Alarm Clock's Haiku
              beep beep beep beep beep
              beep beep beep beep beep beep beep
              beep beep beep beep beep
              - ieatyourlvllol

              Comment

              • remedy1502
                remederpin
                • Feb 2007
                • 4884

                #22
                Re: Complain about finals thread

                French final on friday, massive lol, it's like, super beginner french.
                Algebra I final on the 16th
                Calc I the 17th
                CS on the 20th.

                PS I gotta learn calculus, I got mad sick earlier and missed a ton of stuff, and I just couldn't catch up. Can anyone help me? I'm redoing all my assignments if anyone can help me with it. I'm gonna go to the Homework board and ask now D=

                Comment

                • PsYcHoZeRoSk8eR
                  Threat Emulation
                  FFR Simfile Author
                  • May 2004
                  • 5184

                  #23
                  Re: Complain about finals thread

                  This thread is about 3 weeks too late for me... Finished finals a while ago...

                  Originally posted by Lightdarkness
                  I'm light f**king darkness

                  Comment

                  • 25thhour
                    I like max
                    • Feb 2007
                    • 2922

                    #24
                    Re: Complain about finals thread

                    Im a grade 11 so easy **** here

                    Chem 11 Final End of January
                    English 11 Final End of January
                    Social Studies 11 Provinicial End of January Chem and Socials are on the same day at the same fuking time.
                    r bae adam bae max bae bridget bae claudia bae trevor bae adam2 bae mayo bae keith bae

                    Comment

                    • leonid
                      I am leonid
                      FFR Simfile Author
                      FFR Music Producer
                      • Oct 2008
                      • 8080

                      #25
                      Re: Complain about finals thread

                      Just took Real Analysis final exam.
                      Solved all questions and double-checked them.
                      It wasn't easy at all though-- had to spend the whole 3 hours solving 9 problems


                      btw, this exam was worth 45% of the final grade..
                      Last edited by leonid; 12-7-2010, 07:48 PM.



                      Proud member of Team No

                      Comment

                      • bmah
                        shots FIRED
                        Profile Moderator
                        FFR Simfile Author
                        Global Moderator
                        • Oct 2003
                        • 8448

                        #26
                        Re: Complain about finals thread

                        Originally posted by Xx{Midnight}xX
                        Finals are like any other test.

                        Big deal.
                        take any course with a final that's worth 60% or greater, and you'll take those words back - especially a 100% final

                        Comment

                        • justaguy
                          Forum User
                          FFR Simfile Author
                          • Mar 2004
                          • 3566

                          #27
                          Re: Complain about finals thread

                          i mean hes probably 15 years old
                          #TeamSwoll

                          Comment

                          • esupin
                            FFR Player
                            • Nov 2003
                            • 1756

                            #28
                            Re: Complain about finals thread

                            Poetry portfolio - Dec 1
                            Fiction portfolio - Dec 7
                            Emerging Markets - Paper Dec 2, Presentation Dec 9
                            Real Estate Finance - Case due Dec 14, take-home final due Dec 21
                            Ethics essay - Not even assigned yet

                            Finals week doesn't actually start until Dec 15, but some of my classes are group project based, so all the project stuff happens during actual class time. All in all, not too bad.

                            http://www.youtube.com/esupin

                            Comment

                            • cedolad
                              moonchild~
                              FFR Simfile Author
                              • Jan 2007
                              • 6879

                              #29
                              Re: Complain about finals thread

                              I'm not even gonna bother posting because I'm still in HS and have no reason to bitch.

                              Comment

                              • leonid
                                I am leonid
                                FFR Simfile Author
                                FFR Music Producer
                                • Oct 2008
                                • 8080

                                #30
                                Re: Complain about finals thread

                                You can bitch all you want this isn't a thread where people brag about how difficult their exams are



                                Proud member of Team No

                                Comment

                                Working...