The next two questions are based upon the situation describe…

The next two questions are based upon the situation described below Bob is planning on buying a new flat screen television for his family. He consults a number of sources including online reviews, manufacturer websites, and retailer websites. Bob knows that he wants a screen size of 65 inches or more and limits his consideration set to his preferred brands that have this feature. Bob visits the store with 5-6 brands in mind and looks at a number of TVs, comparing them on color quality, picture brightness, manufacturer warranty, brand, picture movement rate, and price. Bob makes notes of the features of each member of his consideration set and then goes home and assesses how each TV rates on each feature.  After this exercise, Bob narrows his choices down to 4 finalists (a Samsung 70 inch, a Samsung 65 inch , an LG 75 inch, and a Sony 65 inch) in priority order. After one last trip to the store to confirm his decision, Bob chooses to purchase the Samsung 70 inch TV.  

Choose just one (1) of the prompts below. In response to it,…

Choose just one (1) of the prompts below. In response to it, compose a five-paragraph essay of approximately 500 words. Your essay should have a hook and clear thesis in the first paragraph; each body paragraph should relate to and defend the thesis using appeals to logos, ethos, and pathos. The conclusion should not only restate the main argument, but should also look beyond the essay’s narrow focus. Prompts (choose one): 1). Should the U.S. education system (K-12 and/or higher education) switch to a year-round schedule, with no long summer break? 2). Is an urban or rural environment the better place to raise a family? 3). Should U.S. K-12 schools maintain and enforce dress codes? 4). Should U.S. K-12 education require physical education (PE) of all students? 5). Should the U.S. legal voting age be lowered to 16?

Programming: Binary Search Trees One of the data structures…

Programming: Binary Search Trees One of the data structures we studied was binary search trees. A simple implementation of node for a binary tree where keys are integers is shown below – your answer must be in terms of it. private class Node {    public final Integer key;    public final Value val;    public Node left, right;    public int N;    public Node(Key key, Value val, int N) {        this.key = key;        this.val = val;         this.N = N;    }} Implement the recursive method public static int countLeafSums(Node root, int sum) that counts the number of root to leaf paths that sum to a specific value. The sum is taken on the keys. Consider the example tree below: countLeafSums(root, 17) returns 0, countLeafSums(root, 34) returns 2, and countLeafSums(root, 47) returns 1. Creating additional helper methods is fine but you should provide a one line comment that indicates their purpose. No packages may be imported. public static int countLeafSums(Node root, int sum) {  //TODO: IMPLEMENT ME.