[go: up one dir, main page]

100% found this document useful (1 vote)
1K views2 pages

Computer Science Class VII Apeejay

Computer Science Class VII Apeejay

Uploaded by

Arnav Sood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
1K views2 pages

Computer Science Class VII Apeejay

Computer Science Class VII Apeejay

Uploaded by

Arnav Sood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 2
Roll No. Name Class & Section) APEEJAY SCHOOL, NOIDA FIRST TERM EXAMINATION — (2018-19) Computer Science Time Allowed : 1 Hr. Class — Vil Maximum Marks : 40 RI2 Fill in the blanks : (5 marks) (@) command displays the hidden files with Is command. (b) command is used to remove a directory only when it is empty. (c) The first directory in the file system is called . (0). cl . dot represents a parent directory. (e) The .. command is used to move the contents of one file to another. (To highlight a pixel on the screen, we use the statement. True or False : (5 Marks) (a) Screen 0 function sets the screen to text mode. () The intersection of each row and a column is represented by a dot, also referred to as resolution. (c) LOCATE statement is used to give the space between text or value. (d) * Dim Statement is used to declare an array. (e) Absolute path is defined as path related to the present working directory. Graphics in QB64 : What is an aspect ratio? (2 marks) What is the function of Screen 1 and Screen 2? (2 marks) Write a program in QB64 to draw the following figures : (Any Two) (6 marks) (a) (b) (c) [PTO] 10. 11. Arrays in QB64 What is an Array? Name two types of Arrays. (3 marks) Dim Emp (9): * (3 marks) Based on the above example do the following :- (a) is the name of an array. (b) is used to declare an array. ©) number of elements can be stored in an Emp array. Write a program to accept 10 numbers from the user and print the cube of the numbers which are at 1st, 3rd and 6th position according to the subscript. (4 marks) Write a program to store six numbers in an array from the user and print all the numbers which are greater than 30. (4 marks) Write a program to store ten names in an students array. Accept a name from the user and find out whether it is present or absent in the students array. (4 marks) Make the corrections and rewrite the program : (2 marks) Dim AS(7 ) ForK =0 tod input “enter a number’; A(L) Next K ForL=1to6 Print A(L) Next K R-2/Computer Science/VII

You might also like