pdf (1).pdf - COMP1511 Week 03 Weekly Test Sample Answers COMP1511 19T1 Week 03 Weekly Test COMP1511 19T1 Sample Answers Test Conditions These questions

pdf (1).pdf - COMP1511 Week 03 Weekly Test Sample Answers...

This preview shows page 1 - 2 out of 4 pages.

09/05/2019 COMP1511 Week 03 Weekly Test Sample Answers 1/4 Test Conditions These questions must be completed under self-administered exam-like conditions. You must time the test yourself and ensure you comply with the conditions below. You may complete this test in CSE labs or elsewhere using your own machine You may complete this test at any time before Wednesday 13 March 23:59:59 The maximum time allowed for this test is 1 hour + 5 minutes reading time. You may first use 5 minutes to read the questions (no typing) You then must complete the test within 1 hour and submit your answers with give. You must complete the questions alone - you can not get help in any way from any person. You can not access your previous answers to lab or tut questions. You can not access web pages or use the internet in any way. You can not access books, notes or other written or online materials. You can not access your own files, programs, code ... You can not access COMP1511 course materials except for language documentation linked below. You may access this language documentation while attempting this test: C quick reference Simple template for a C program You may also access manual entries (the man command) Any violation of the test conditions will results in a mark of zero for the entire weekly test component. COMP1511 19T1 Week 03 Weekly Test Sample Answers COMP1511 19T1 Print A Smiley Write a program smiley.c which prints an smiley exactly as below. Your program should behave as follows: $ dcc -o smiley smiley.c $ ./smiley :-) When you think your program is working you can autotest to run some simple automated tests: $ 1511 autotest smiley Autotest Results 100% of 631 students who have autotested smiley.c so far, passed the autotest test.
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 4 pages?

  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors