Question

QUESTION 15 Which does not represent a mode a data file may be opened in using C? O execute, e append, a O write, w O read, QUESTION 16 You need to read temperatures until a threshold is reached. The statements in the loop must be executed at least once. What type of structure should be used to do this? 0 while O none of these O do/while O for QUESTION 17 Give the value of time after the following set of statements is executed. int time700; if time>0) iftimex-1000) time : iftime> 500) time-2 time time=10*time: else time-3-time; O 7000 O 1400 O 700

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Question 15 a) execute e

Question 16) c) do while

Question 17) b) 1400 //here time is greater than 500 then it will become 1400

G:\crlegg data program Out lex 1400 Process returned 0 〈0x0〉 execution time : 0.008 s Press any key to continue

Add a comment
Know the answer?
Add Answer to:
QUESTION 15 Which does not represent a mode a data file may be opened in using...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Task 4 Download the temperatures.txt file from Moodle. The file contains temperature data which h...

    Use the Matlab to solve this one, please! Task 4 Download the temperatures.txt file from Moodle. The file contains temperature data which has beern collected once a day and contains noisy data. Write a MATLAB m-file that performs the following: Read the temperature values from temperatures.txt into a vector A. B. C. Plot the temperature against time using red diamond markers. Without using loops, remove the noisy data using the following rules: I Any temperature value above 45°C is invalid...

  • QUESTION 1 Which statement results in the value false? The value of count is 0; limit...

    QUESTION 1 Which statement results in the value false? The value of count is 0; limit is 10. (count != 0)&&(limit < 20) (count == 0)&&(limit < 20) (count != 0)||(limit < 20) (count == 0)&&(limit < 20) 10 points    QUESTION 2 If this code fragment were executed in an otherwise correct and complete program, what would the output be? int a = 3, b = 2, c = 5 if (a > b) a = 4; if (...

  • QUESTION 7 Which of the following is a valid C++ assignment statement? (assume each letter is...

    QUESTION 7 Which of the following is a valid C++ assignment statement? (assume each letter is a different variable) A.y=b-c B.y +z = x C.x = a bi D.x = -(y*z): Ex = (x + (y z): QUESTION 8 Which of the following is a valid variable name according to C++ naming rules? A 2ndName B.%Last_Name C@Month D#55 Eyear03 QUESTION 9 Which library must be included to enable keyboard input? A kbdin B. cstdlib C input Diostream E lomanip QUESTION...

  • Eclipse Java Oxygen Question 11 pts A compile-time error occurs when Group of answer choices c....

    Eclipse Java Oxygen Question 11 pts A compile-time error occurs when Group of answer choices c. there’s a syntax error in a Java statement a. the Java compiler can’t be located b. bytecodes can’t be interpreted properly c. there’s a syntax error in a Java statement Flag this Question Question 21 pts An error that lets the application run but produces the wrong results is known as a Group of answer choices d. syntax error c. logic error a. runtime...

  • QUESTION 1 Which of the following statements is TRUE for a set of data which has a skewed distrib...

    QUESTION 1 Which of the following statements is TRUE for a set of data which has a skewed distribution? Oa The median is the average of the Ob. The interquartile range is one half of Oc. The mean always lies between the Od. The median partitions the set of data smallest and the largest observation the range median and the mode into two equal parts QUESTION2 The distribution of the distance travelled by 35 people from an outer Brisbane suburb...

  • In Java Code Needed is Below the Question Using Program 3: Encapsulating Dogs, modify this program...

    In Java Code Needed is Below the Question Using Program 3: Encapsulating Dogs, modify this program to create a database of dogs of your own. You will also include File I/O with this program. You will create 3 classes for this assignment. The first class: Create a Class representing the information that is associated with one item (one dog) of your database. Name this class Dog. Using Lab 3, this will include the information in regard to one dog. The...

  • Assignment Predator / Prey Objectives Reading from and writing to text files Implementing mathematical formulas in...

    Assignment Predator / Prey Objectives Reading from and writing to text files Implementing mathematical formulas in C++ Implementing classes Using vectors Using command line arguments Modifying previously written code Tasks For this project, you will implement a simulation for predicting the future populations for a group of animals that we’ll call prey and their predators. Given the rate at which prey births exceed natural deaths, the rate of predation, the rate at which predator deaths exceeds births without a food...

  • QUESTION The ReadFile class opens and reads a text file. The WriteFile class opens and writes...

    QUESTION The ReadFile class opens and reads a text file. The WriteFile class opens and writes to a file. Compile and run these programs. There are several ways to read/write text files. The examples shown here are just one way of achieving this. Look at the API for the BufferedReader class. The readline() method is a simple way to read the text file line by line. It returns null when the end of the file has been reached. https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html Look...

  • P1-45A (similar to) Question Help Alan Shriver recently opened his own accounting firm on April 1,...

    P1-45A (similar to) Question Help Alan Shriver recently opened his own accounting firm on April 1, which he operates as a corporation. The name of the new entity is Alan Shriver, CPA. Shriver experienced the following events during the organizing phase of the new business and its first month of operations in 2018: (Click the icon to view the transactions.) Read the requirements. Requirement 1. Analyze the effects of the events on the accounting equation of Alan Shriver, CPA Analyze...

  • Question 1 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text The statements...

    Question 1 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text The statements inside of a Python loop are known as the ____ of the loop. Select one: a. body b. expression c. counter d. block Question 2 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text The Python 3 program below prints the number 3. s = "Python3" print(s[len(s)]) Select one: True False Question 3 Not yet answered Marked out of 1.00 Not...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT