Professional Documents
Culture Documents
E116
COMPUTER PROGRAMMING
All rights reserved. No part of this document may be reproduced, stored in a retrieval
system, or transmitted, in any form or by any means, electronic, mechanical,
photocopying, recording or otherwise, without the prior permission of the School of
Engineering, Republic Polytechnic, Singapore
Page 1 of 2
School of Engineering
Big data are extremely large data that applications can no longer handle and must be
analyzed computationally to reveal associations. These data can come from
everywhere: from your mobile phone GPS signal, your website requests, Lazada
purchase transaction records and GrabCar rating history. Analyzing these big data can
give insights into improving services, predicting behavior and refining merchant range.
Data is stored into the computer memory before it could be processed and analyzed.
Storing data into variables of appropriate data types can improve efficient memory
usage and preserve the accuracy of data. Some of the data can be numbers, numbers
with decimal places, long numbers, alphabets, words, etc.
An employee working in a clothing online store would like to explore the use of data
analytics for his company. He started by writing a simple program below. However, he
observed that the conclusions from the program are incorrect when he ran the program.
Explain the reasons for this and how this could be rectified.
#include <stdio.h>
void main(void)
{
printf(Welcome to the Online Giordano Store)
printf(We have special promotion today!)
Page 2 of 2