Not yet checked 1 of 7 questions have not yet been compared with the official paper.
SECTION–I
Q. 2
(a)Give a detailed note on a revised BSD 3-clause license. Also name 5 softwares using this license. [10]
(b)How do artificial intelligence may facilitate us in improving cyber security? [5]
(c)What are the main parts and phases of a computer virus program? [5]
(20)
Q. 3
(a)See the following C++ program to declare whether an input number is a prime number or not. Identify the logical errors in the given program (if any). Give your correct statement(s) exactly at the same line number. n, i; bool isPrime = false; cout << "Enter a positive integer: "; cin >> n; for(i = 1; i < n / 2; ++i) { if(n / i == 0) { isPrime = false; break; }} if (isPrime) cout << "This is a prime number"; else cout << "This is not a prime number"; [10]
(b)What is the difference between call by value and call by reference? [5]
(c)What is the role of preprocessor directives? Give three examples in C++. [5]
Not yet checked
(20)
Q. 4
(a)How do the OOP paradigm can be associated with the real-world problems? Explain. [10]
(b)Discuss critical reasons given by the professionals for not supporting the OOP paradigm. [10]
(20)
Q. 5
(a)Discuss the security issues associated with the cloud computing. [10]
(b)What is bit twiddling? Give brief description. [5]
(c)An image is a representation of some information. Discuss how does a computer represents an image internally? Name different algorithms used to extract features from images. [5]
(20)
Section B
Q. 6
(a)Discuss the limitations of genetic algorithms. [10]
(b)What is AVL tree? Under what condition, a binary tree becomes AVL tree? [5]
(c)Consider the following graph. Find out the sequence of edges added to the minimum spanning tree using Kruskal's algorithm. [See image: A graph with nodes labeled a, b, c, d, e, f, g and edges with weights: (a,b)=5, (a,c)=4, (a,d)=3, (b,e)=2, (c,f)=6, (d,g)=6, (e,f)=5, (e,g)=5, (f,g)=6] [5]
(20)
Q. 7
(a)Discuss the architecture of aspect-oriented system. [10]
(b)Briefly discuss the motivation for aspect-oriented programming. [5]
(c)What is the significance of quantification and obliviousness? [5]
(20)
Q. 8
(a)Write down the major steps involved in code generation. [10]
(b)How would you optimize a loop? Describe the techniques briefly. [5]
(c)Differentiate machine-dependent optimization and machine-independent optimization. [5]
The 2019 CSS Computer Science paper set by the FPSC. Question wording only; questions marked “Not yet checked” have not been compared with the official paper yet.
Disclaimer Prep Right is independent and not affiliated with FPSC.