CS 1323-020: Introduction to Computer Programming Exam 1
15 Sept 2014 question. Use the provided space in this exam booklet to answer the coding questions. On my honor I affirm that I have neither given nor ...
675879-2023-specimen-paper-2b-mark-scheme.pdf
COMPUTER SCIENCE. 0478/02. Paper 2 Algorithms Programming and Logic. For examination from 2023. MARK SCHEME B. Maximum Mark: 75. Specimen. Page 2. 0478/02.
595599-2023-specimen-paper-2a-mark-scheme.pdf
Any blank pages are indicated. © UCLES 2020. [Turn over. Cambridge IGCSE™. COMPUTER SCIENCE. 0478/02. Paper 2 Algorithms Programming and Logic. For examination
HOW CAN COMPUTER-BASED PROGRAMMING EXAMS BE
25 Aug 2021 4 they consist of both open and closed questions where the closed questions have prepared answer alternatives. Three different ...
Untitled
COMPUTER PROGRAMMING. COURSE CODE. : BIT 10303. PROGRAMME CODE. : BIT. EXAMINATION DATE. : JANUARY/FEBUARY 2021. DURATION. INSTRUCTION. : 3 HOURS. 1. ANSWER ALL
Assessing novice programmers performance in programming
Problem: Students who are registered for the computer science programs are having some difficulty in answering the questions in programming exams that they
A506 / C201 Computer Programming II Placement Exam Sample
A506 / C201 Computer Programming II. Placement Exam Sample Questions. For each of the following choose the most appropriate answer (2pts each). _____ 1
Performance Management (PM) Sept/Dec 2021 Examiners report
the published answers alongside this report. The Performance Management (PM) exam is offered as a computer-based exam. (CBE). The model of delivery for the
Assessment for Computer Programming Courses: A Short Guide for
ship (2) location
Cambridge IGCSE 0478 Computer Science specimen paper 2B for
COMPUTER SCIENCE. 0478/02. Paper 2 Algorithms Programming and Logic. For examination from 2023. SPECIMEN PAPER B. 1 hour 45 minutes. You must answer on the
CS 1323-020: Introduction to Computer Programming Exam 1
Sep 15 2014 question. Use the provided space in this exam booklet to answer the coding questions. On my honor
ict specialist proficiency examination frequently asked questions
NCC and CSC therefore conduct tests in the area of Computer Programming. Q. What Civil Service Eligibility will be granted to successful examinees? A. The EDP
Object Oriented Programming Exam Questions And Answers - Mass
Jul 9 2022 Programming Exam Questions And Answers that you are looking for. ... AP Computer Science A
Computer Programmer Aptitude Battery (CPAB) Test
Do your best to work out the problems but don't be afraid to take a guess if you don't know the answer to a question. 10. Questions tend to become
DEVELOPMENT OF WEB-BASED EXAMINATION SYSTEM USING
examination questions leakages human errors during marking of scripts and recording of facilities to computer programmers for software development.
Constructivist learning with participatory examinations - System
answering exam questions from evaluating their This paper presents participatory exam research ... Most studies focus on computer programming courses.
Introduction to Computers and Programming
puters for tasks such as writing papers searching for articles
Foundation Scholarship for ICS
computer program is assessed in the Computer Programming examination. Candidates will be required to answer any THREE questions from the four.
CS 1323-020: Introduction to Computer Programming Exam 2
Oct 15 2014 question. Use the provided space in this exam booklet to answer the coding questions. On my honor
CS 1323-020: Introduction to Computer Programming Exam 1
Sep 15 2014 question. Use the provided space in this exam booklet to answer the coding questions. On my honor
CS 1323-020: Introduction to Computer Programming
Exam 1
September 15, 2014
General instructions:
•Please wait to open this exam booklet until you are told to do so. •This examination booklet has 13 pages. You also have been issued a bubble sheet. •Write your name, university ID number and date, and sign your namebelow. Also, write your name and ID number on your bubble sheet, and fill in the bubbles for your ID. •The exam is open book and open notes, but is closed electronic device. The only exception is that you may use an electronic device to display a PDF copy of the book (all communication must be turned off and no other applications may be used). •The exam is worth a total of 100 points (and 10% of your final grade). •You have 1.25 hours to complete the exam. Be a smart test taker: ifyou get stuck on one problem go on to the next. •Use your bubble sheet to answer all multiple-choice questions. Makesure that the question number and the bubble row number match when you are answering each question. Use the provided space in this exam booklet to answer thecoding questions. On my honor, I affirm that I have neither given nor received inappropriate aid in the completion of this exam.Signature:
Name:ID Number:
Date:QuestionPointsScore
Variables, Types and Conversions14
Mathematical Operations18
Conditionals18
Loops20
Coding30
Total:100
Part I. Variables, Types and Conversions
1. (2 points) What type of data would you use to count the number of times that a
baby pushed herself to the left [using the assistive robot]? A. intB. boolean C. double D. String E. Answer not shown2. (2 points) Given the following block of code. Which line contains an error?
1intaa= 5;
2intbc= 99;
3intc1= 32;
4intd_= 7;
A. Line 1 B. Line 2 C. Line 3 D. Line 4E. There are no errors3. (2 points) Given the following block of code. Which line contains an error?
1inta= 5;
2doubleb= 99;
3intc@= 7;
4booleand=fal se;
A. Line 1 B. Line 2C. Line 3D. Line 4 E. There are no errors4. (2 points) What type of data would you use to measure the forward progress of the
baby during a fixed period of time (in meters)? A. int B. booleanC. doubleD. String E. Answer not shown5. (2 points) What type of data would you use to store the name of the baby?
A. int B. boolean C. doubleD. StringE. Answer not shown6. (2 points) Given the following block of code. Which line contains an error?
1intm= 5;
2doublen= 99;
3doubleo=m;
4intp=n;
A. Line 1 B. Line 2 C. Line 3D. Line 4E. There are no errorsPage 2
7. (2 points) Given the following block of code. Which line contains an error?
1intfoo= 5;
2intbar= 42;
3intfoo= 3;
4intbaz= 1138;
A. Line 1 B. Line 2C. Line 3D. Line 4 E. There are no errorsPage 3
Part II. Mathematical Operations
8. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. inti= 23; intj= 7; intk=i%j;System.out.println("The result is : "+k) ;
A. 0B. 2C. 7 D. There is an error E. Answer not shown9. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. intfoo= 8; doublebar= 11; bar=foo;System.out.println("The result is : "+bar/ 3) ;
A. 2B. 2.666666666C. 3 D. 3.333333333 E. Answer not shown10. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. inth= 7; doublei= 2.5; doublec=h/i;System.out.println("The result is : "+ (c+ 1) ) ;
A. 2 B. 2.8C. 3.8D. There is an error E. Answer not shown11. (2 points) What result is printed by this block of code?
intfoo= 42; intbar= 1138; bar=bar?2; intbaz= 3; bar=baz+foo;System.out.println("The result is : "+bar) ;
A. 42B. 45C. 1138 D. 2276 E. Answer not shown
Page 4
12. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. inta= 42; intb= 10; doublek=a%b+ 1;System.out.println("The result is : "+k) ;
A. 1 B. 2C. 3D. There is an error E. Answer not shown13. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. intr= 9; doubles= 3.2; doublet= 4.0; doubleu=s+r/t;System.out.println("The result is : "+u) ;
A. 5 B. 5.2C. 5.45D. There is an error E. Answer not shown14. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. doublea= 9.0 intb= 4; intc=a/b;System.out.println("The result is : "+ (c+ 1) ) ;
A. 2 B. 3 C. 3.25D. There is an errorE. Answer not shown15. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. doublea= 36.3; intb= 93; b= (int)a;System.out.println("The result is : "+b/ 3) ;
A. 12B. 12.1 C. 31 D. There is an error E. Answer not shownPage 5
16. (2 points) What result is printed by this block of code? Answers within a small
delta from the true answer are considered true. intm= 29; intn= 3; doublep= 2.7; doubleq=p+m/n;System.out.println("The result is : "+q) ;
A. 11 B. 12.36666 C. 12.7 D. There is an errorE. Answer not shownPage 6
Part III. Conditionals
17. (3 points) What result is printed by this block of code?
intn= 21; i f(n>16) i f(n>32)System.out.println(n+ 5) ;
elseSystem.out.println(n/ 3) ;
else i f(n<-10)System.out.println(a?2) ;
elseSystem.out.println(a-3) ;
A. 7 B. 18 C. 26D. There is an errorE. Answer not shown18. (3 points) What result is printed by this block of code?
intprice= 1138; i f(price>= 1000) price+=price/ 10; else i f(price>= 100) price+=price/ 20; else price+=price/ 100;System.out.println(price) ;
A. 1149 B. 1194C. 1251D. There is an error E. Answer not shownPage 7
19. (3 points) What result is printed by this block of code?
intk= 6; booleanflag= ((k% 2) == 1) ; i f(flag) i f(k== 7)System.out.println(k) ;
elseSystem.out.println(k?3) ;
else i f(k<-2)System.out.println(k-5) ;
A. 1 B. 6 C. 18 D. There is an errorE. Answer not shown20. (3 points) What result is printed by this block of code?
inta= 43; i f(a>67)System.out.println(a-2) ;
elseSystem.out.println(a/2) ;
A. 21B. 21.5 C. 41 D. There is an error E. Answer not shownPage 8
21. (3 points) What result is printed by this block of code?
doubleval= 16.0; i f(val<10.0) i f(val<17.0 )System.out.println('A') ;
elseSystem.out.println('B') ;
else i f(val<= 2.0)quotesdbs_dbs2.pdfusesText_4[PDF] computer programming interview questions and answers pdf
[PDF] computer programming language
[PDF] computer programming language of the future
[PDF] computer programming questions and answers
[PDF] computer programming quiz questions and answers
[PDF] computer programming test questions and answers
[PDF] computer science curriculum for elementary school
[PDF] computer science curriculum pdf
[PDF] computer science project topics on database
[PDF] computer science technical writing example
[PDF] computer science write up
[PDF] computer science writing assignment
[PDF] computer script example
[PDF] computer training institute prospectus pdf