Aspire Faculty ID #18468 · Topic: UGC NET Computer Science June 2023 (Paper II) · Just now
UGC NET Computer Science June 2023 (Paper II)

There are M points on one straight line AB and n points on another straight line AC none of them being A. How many triangles can be formed with these points as vertices?

Solution

To form a triangle, we can choose:


2 points from line AB and 1 point from line AC


or


2 points from line AC and 1 point from line AB


Number of triangles:


$ {m \choose 2}n + {n \choose 2}m $


$ = \frac{m(m-1)}{2}n + \frac{n(n-1)}{2}m $


$ = \frac{mn}{2}[(m-1)+(n-1)] $


$ = \frac{1}{2}mn(m+n-2) $

Previous 10 Questions — UGC NET Computer Science June 2023 (Paper II)

Nearest first
1
What is the output of following code?main(){static float a[] = {13.24, 1.5, 4.5, 5.4, 3.5}float *j, *k;j = a;k = a + 4j…
Topic: UGC NET Computer Science June 2023 (Paper II)
2
Given below are two statements:Statement I: If f and g are two functions and f = O(g) but g ≠ o(f), we say that the gro…
Topic: UGC NET Computer Science June 2023 (Paper II)
3
Match List I with List II LIST ILIST II A. Bezier curves I. 3 dim objects that have translation rotational sy…
Topic: UGC NET Computer Science June 2023 (Paper II)
4
Match List I with List II LIST ILIST II  A. PERT I. Used for non repetitive jobs B. Optimistic…
Topic: UGC NET Computer Science June 2023 (Paper II)
5
Consider following statements:A. A context free language is generated by LR(0) grammar if and only if it is accepted by…
Topic: UGC NET Computer Science June 2023 (Paper II)
6
What is the $(4+4)$ bit binary fixed point equivalent of $-(3.72)_{10}$?
Topic: UGC NET Computer Science June 2023 (Paper II)
7
Consider the rectangle with vertices $(0,0)$, $(0,2)$, $(3,0)$, $(3,2)$. There is scaling of 2 towards x-axis and 3 tow…
Topic: UGC NET Computer Science June 2023 (Paper II)
8
Given below are two statements:Let $f(n)$ and $g(n)$ be asymptotically positive functions. The following conjectures ar…
Topic: UGC NET Computer Science June 2023 (Paper II)
9
Match List I with List II LIST ILIST II  A. Scenario testing I. To verify the I/O behavior of text …
Topic: UGC NET Computer Science June 2023 (Paper II)
10
Suppose a circular queue of capacity $(n - 1)$ elements is implemented with an array of $n$ elements. Assume that the i…
Topic: UGC NET Computer Science June 2023 (Paper II)

Next 10 Questions — UGC NET Computer Science June 2023 (Paper II)

Ascending by ID
1
Consider two hosts P and Q that are connected through a router R. The maximum transfer unit (MTU) value of the link bet…
Topic: UGC NET Computer Science June 2023 (Paper II)
2
Which of the following is not a mutation operator in a genetic algorithm?A. Random resettingB. ScrambleC. InversionD. D…
Topic: UGC NET Computer Science June 2023 (Paper II)
3
Consider the following statements:A. If some NP-complete problem P is in P that P = NPB. TSP is in NPC. SAT is in NPD. …
Topic: UGC NET Computer Science June 2023 (Paper II)
4
Consider the following statements about heap sort algorithm:A. The MAX-HEAPIFY procedure which runs in $O(\lg n)$ time,…
Topic: UGC NET Computer Science June 2023 (Paper II)
5
Consider the following statements about the software product line system:Statement I: At the interaction level, compone…
Topic: UGC NET Computer Science June 2023 (Paper II)
6
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.Assertion A: The A…
Topic: UGC NET Computer Science June 2023 (Paper II)
7
256 Mb DRAM is organized as a 32M × 8 memory externally and as a 16K × 16K square array internally. Each row must be re…
Topic: UGC NET Computer Science June 2023 (Paper II)
8
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.Assertion A: Valid…
Topic: UGC NET Computer Science June 2023 (Paper II)
9
Given the basic E R diagram and relational model, which of the following is incorrect?
Topic: UGC NET Computer Science June 2023 (Paper II)
10
Match List I with List II LIST ILIST II  A. Expert system I. Decision tree B. Fuzzy system&nbs…
Topic: UGC NET Computer Science June 2023 (Paper II)
Ask Your Question or Put Your Review.

loading...