Monday, June 19, 2017

Upwork DJANGO TEST 2018

Hello Freelancer, Get the DJANGO TEST of Latest version 2018. We are ready here to provide your desire upwork test answer. We already tested all exam test information Available include on here. So Dear, Why Late? Read the below full exam test and get more information from our website. 


1. Consider the following Python string representing a human readable date and time:
dt = ‘Jan 14 2009 11:00PM’
Which of the following code snippets will convert the above string to a Python Datetime object that is suitable for a django.models.DateField?
Answers:
  1. date_object = time.strptime(dt, ‘%b %d %Y %I:%M%p’)
  2. date_object = datetime.strptime(dt, ‘%b %d %Y %I:%M%p’)
  3. date_object = datetime.strptime(dt, ‘%B %D %Y %I:%M%p’)
  4. date_object = time.strptime(dt, ‘%b %d %Y %I:%M%p’)
2. Which of the following is false about the django.models.SlugField() model field?
Answers:
  1. It is used when performing a query, or as a part of a URL, since by default it ensures uniqueness.
  2. To create a slug based on another field automatically in the admin, prepopulated_fields has to be used.
  3. It can only contain letters, numbers, underscores or hyphens.
  4. Slugs can created in Django templates using the builtin filter, “django.template.defaultfilters.slugify”, formatted as {{ some_text|slugify }}.
3. What does the django.core.context_processors.static() method do?
Answers:
  1. It takes a path and urljoins it with the static prefix STATIC_URL.
  2. It adds STATIC_URL to every template context rendered with RequestContext contexts.
  3. It populates a template variable with the static prefix STATIC_URL to be used as a variable or directly.
  4. None of these.
4. Which of the following statements is true about the django.template.RequestContext class?
Answers:
  1. It takes a Context object as its first argument.
  2. It takes an HttpRequest as its first argument.
  3. It does not automatically the context with variables.
  4. It can only be given one context processor.
5. Consider two Django QuerySets query_set_1 and query_set_2 from two different models.
Which of the following code snippets is the most performant when concatenating the two QuerySets into one list?
Answers:
  1. from itertools import chain result_list = list(chain(query_set_1,query_set_2))
  2. result_list = query_set_1 | query_set_2
  3. from django.db.models import Q result_list = Q(query_set_1) | Q(query_set_1)
  4. from itertools import chain result_list = chain(query_set_1, query_set_2)
6. Which of the following statements about database transactions in Django is false?
Answers:
  1. “atomic” blocks allows the creation of blocks of code within which the atomicity on the database is guaranteed.
  2. “atomic” blocks cannot be nested.
  3. “atomic” can be used as a decorator.
  4. “atomic” can be used as a context manager.
7. Consider the following code snippet for a Django Model:
class Salary(models.Model):
amount = models.PositiveIntergerField(help_text=’eg 8000′)
retired = models.BooleanField(help_text=’True if above average’)
………..
Which of the following will correctly produce a QuerySet of all Salary objects where retired == True and amount != 7300?
Answers:
  1. results = Salary.objects.exclude(retired=true, amount__lt=7300).exclude(retired=true,amount__gt=7300)
  2. from django.db.models import Q results = Salary.filter(~Q(amount=7300),retired=True)
  3. results = Salary.objects.filtered(retired=True, amount__ne=7300)
  4. from django.db.models import Q results = Salary.filter(Q(amount=7300),retired=True)
8. Which of the following gets called when a view raises an exception?
Answers:
  1. view_exception()
  2. process_exception()
  3. execution_exception()
  4. controller_exception()
9. What is the best way to extend the Django user model with extra custom fields in addition to the fields already provided?
Answers:
  1. Use a a proxy model based on django.contrib.auth.models.User.
  2. Subclass django.contrib.auth.models.AbstractUser and add the extra fields.
  3. Subclass django.contrib.auth.models.AbstractBaseUser and add the extra fields.
  4. Use a one-to-one relationship to a model containing the extra fields.
10. Which of the following statements are true about the ImageField class?
Answers:
  1. It inherits all attributes and methods from the FileField class.
  2. It validates that the uploaded object is a valid image.
  3. Its instances are created as varchar(200) columns in the database.
  4. It’s default form widget is a ClearableFileInput.
11. What does the “with” template tag do?
Answers:
  1. It adds its argument to the value.
  2. It caches a complex under a simpler name.
  3. It filters the contents of the blog through one or more filters.
  4. None of these.
12. Which of the following statement is false about the django.http.HttpRequest.get_host() method ?
Answers:
  1. If DEBUG = False and ALLOWED_HOSTS= [] the method will raise SuspiciousOperation exception resulting in an HTTP Error 500 Internal server error.
  2. The method will fail when the host is behind multiple proxies, in this case one solution is to use middleware which will rewrite the proxy headers.
  3. This method is invoked if some code accesses the Host header from request.META, thus providing a security measure to prevent an attacker from poisoning caches and password reset emails with links to malicious hosts by submitting requests with a fake HTTP Host header.
  4. The method uses information from the HTTP_X_FORWARDED_HOST and HTTP_HOST headers, in that order, or a combination of SERVER_NAME and SERVER_PORT if the latter does not provide a value.
13. What is the default max_length value of a SlugField class in Django?
Answers:
  1. 50
  2. 100
  3. 25
  4. 150
14. Which of the following is a built-in BaseCommand subclass?
Answers:
  1. AppCommand
  2. HelperCommand
  3. HandlerCommand
  4. DBCommand
15. Which of the following statements is true about Django’s default implementation of the authentication system?
Answers:
  1. Django stores passwords in plain text on the user model.
  2. It returns a UserAccount object is the password for a given username is authenticated.
  3. Permissions can only be set on a per type of object basis.
  4. django.contrib.auth will ensure that add, change and delete permissions are created for each Django model defined in an installed application.
16. Which of the following happens when process_exception() returns “None”?
Answers:
  1. The template response will be applied.
  2. The response middleware will be applied.
  3. The default exception handling will be applied.
  4. None of these.
17. Which of the following is not a predefined log level in Django?
Answers:
  1. DEBUG
  2. INFO
  3. WARNING
  4. FATAL
18. Which of the following classes uses an HTTP 304 status code?
Answers:
  1. HttpResponseNotModified
  2. HttpResponseRedirect
  3. HttpResponseForbidden
  4. HttpResponseServerError
19. Which of the following django.template.loader functions will take a list of template names and return the first template that exists?
Answers:
  1. find_one_template
  2. find_template
  3. get_template
  4. select_template
20. Which of the following is not a built-in Django template loader class?
Answers:
  1. file.Loader
  2. cached.Loader
  3. eggs.Loader
  4. app_directories.Loader
Finally no more words require about the DJANGO TEST  information in this session of this content. If you are require knowing more, Please ask to us via our contact us form or comment box. Please make sure that, you don’t send Personal information via the Comment box. Thanks for Being with us.

Upwork MAYA 7.0 TEST 2018

Hello Freelancer, Get the MAYA 7.0 TEST of Latest version 2018. We are ready here to provide your desire upwork test answer. We already tested all exam test information Available include on here. So Dear, Why Late? Read the below full exam test and get more information from our website.



1. Which NURBS element is being represented by the yellow colored line in the given image?
Answers:
  1. Hull
  2. Isoparm
  3. Normal
  4. None of the above
2. Which utility node is used to obtain information about the position of a light relative to a texture?
Answers:
  1. Double-sided shading
  2. Sampler info
  3. Light info
  4. Projection
3. Which among these fog types can cast shadows?
Answers:
  1. Environment fog
  2. Simple fog
  3. Physical fog
  4. Light fog
4. Color curve attribute is only available for spot light?
Answers:
  1. True
  2. False
5. While using Move tool, which “Set keys on” option should be selected in order to set the keys on translate x,y & z attributes only?
Answers:
  1. All keyable attributes
  2. All Manipulator handles
  3. Current Manipulator handle
  4. All manipulator handles & keyable attributes
6. Key Ticks are shown as green marks whereas breakdowns are shown as red marks on the time slider?
Answers:
  1. True
  2. False
7. Which among the following materials is a volumetric material?
Answers:
  1. Ocean shader
  2. Phong
  3. Shading map
  4. Light fog
8. Which type of light Maya automatically creates during render, if there is no light in the scene?
Answers:
  1. Point light
  2. Directional light
  3. Ambient light
  4. Volume light
9. Displacement mapping does not change the surface by moving its vertices but only changes the surface’s normals?
Answers:
  1. True
  2. False
10. Which animation editor is shown in the given graphic?
Answers:
  1. Curve editor
  2. Trax editor
  3. Dope sheet editor
  4. Blend shape editor
11. Which of these is a software render type for particles?
Answers:
  1. Point
  2. Sphere
  3. Sprite
  4. Cloud
12. Which Material type has been used to render the sphere in the given image?
Answers:
  1. Phong
  2. Lambert
  3. Blinn
  4. Anisotropic
13. State whether True or False:
Keys cannot be set on the transform attributes of particles individually in a particle object.
Answers:
  1. True
  2. False
14. How many CVs at least would you need to complete a degree 5 curve?
Answers:
  1. 1
  2. 3
  3. 5
  4. 6
15. Animating an object using motion path creates a dynamic animation?
Answers:
  1. True
  2. False
16. Which of the following lets you edit event and sound synchronization and timing?
Answers:
  1. Blend shape editor
  2. Curve editor
  3. Dope sheet editor
  4. Expression editor
17. In the given image, which Birail tool has been used to create the surface in graphic 1, using the vertical curves as profile curves and horizontal curves as rail curves in graphic 2?
Answers:
  1. Birail 1 tool
  2. Birail 2 tool
  3. Birail 3+ tool
  4. None of the above
18. Which among these lets you interactively update portions or all of the scene and get immediate feedback?
Answers:
  1. Render current frame
  2. Redo previous render
  3. IPR render current frame
  4. All of above
19. Which of the following particle render types allows setting “Line width” attribute for rendering?
Answers:
  1. Point
  2. Streak
  3. Multipoint
  4. All of above
20. Which manipulator is represented by yellow square pointed at with the red arrow in the given image of a spotlight?
Answers:
  1. Pivot
  2. Cone angle
  3. Penumbra
  4. Decay regions
21. In the given image, the particle render type is set to?
Answers:
  1. Point
  2. Multipoint
  3. Streak
  4. Multistreak
22. Which key would you press in order to turn on the pivot point manipulator?
Answers:
  1. Escape
  2. Insert
  3. End
  4. None of the above
23. “Parameter tool” displays the direction of the curve or surface and the normal to the curve or surface at a specified point?
Answers:
  1. True
  2. False
24. What would you do to a NURBS surface in order to create a curve on that surface?
Answers:
  1. Make live
  2. Center pivot
  3. Add attribute
  4. None of the above
25. In the given image, the area marked in red shows the?
Answers:
  1. Range slider
  2. Time slider
  3. Playback controls
  4. None of the above
26. Which material type is used for representing matte surfaces with no specular highlights, such as chalk or unpolished surfaces?
Answers:
  1. Phong
  2. Lambert
  3. Blinn
  4. Phong E
27. Breakdowns can be converted into keys but keys cannot be converted into breakdowns?
Answers:
  1. True
  2. False
28. Which utility is shown in the given image?
Answers:
  1. Multilister
  2. Hypershade
  3. Hypergraph
  4. Visor
29. Which is a 3d texture type?
Answers:
  1. Cloth
  2. File
  3. Brownian
  4. Ramp
30. Which output image file formats can store the depth channels in one file?
Answers:
  1. Maya IFF
  2. Maya16 IFF
  3. RLA
  4. All of the above
31. Which Move tool option causes the manipulator orientation to reflect the moved surface rather than the original surface and lets you move selected CVs on a NURBS surface in the U or V direction?
Answers:
  1. Object
  2. Local
  3. World
  4. Normal
32. Which editor is used to create, edit, and connect rendering nodes, such as textures, materials, lights, rendering utilities, and special effects?
Answers:
  1. Hypergraph
  2. Hypershade
  3. Outliner
  4. None of the above
33. Which light has been used for rendering the given image?
Answers:
  1. Point light
  2. Directional light
  3. Spot light
  4. Area light
34. Which light is used to simulate a combination of direct light and indirect light?
Answers:
  1. Point light
  2. Directional light
  3. Ambient light
  4. Volume light
35. Which type of attribute is typically used in an expression to control a combination of other attributes?
Answers:
  1. Static attributes
  2. Dynamic attributes
  3. Custom attributes
  4. All of above
36. Render diagnostics can display limitations and recommendations regarding output image file format restrictions?
Answers:
  1. True
  2. False
37. In the given figure, which Maya utility does the button marked in red points to?
Answers:
  1. Hypershade
  2. Render globals
  3. Render diagnostics
  4. None of the above
38. Which animation types can be edited in the graph editor?
Answers:
  1. Expressions
  2. Animation curves
  3. Inverse Kinematics
  4. All of the above
39. Which light is represented by the icon in the given image?
Answers:
  1. Point light
  2. Ambient light
  3. Volume light
  4. Directional light
40. Which tool would you use to transform a number of items proportional, based on the distance from the manipulator handle?
Answers:
  1. Proportional modification tool
  2. Move tool
  3. Move normal tool
  4. All of the above
41. Which attribute for a particle per object is set to “Live forever” in order to make the particles live for ever?
Answers:
  1. LifespanMode
  2. Lifespan
  3. LifespanRandom
  4. None of the above
42. Which “world up type” in “attach to motion path” tool specifies that the up vector try to aim at the origin of a specified object instead of the world up vector?
Answers:
  1. Scene up
  2. Object up
  3. Object rotation up
  4. Vector
43. Which keyboard shortcut lets you edit the particle object in edit mode?
Answers:
  1. Escape
  2. Insert
  3. Spacebar
  4. ‘E’
44. Which among these is not an emitter type?
Answers:
  1. Surface
  2. Spot
  3. Curve
  4. Volume
45. “Hold current keys” sets keys only for the attributes that change value?
Answers:
  1. True
  2. False
46. Which rotation interpolation would be set in order to create curves that have keyframes on sibling curves locked together but the interpolation between keyframes is performed in Euler-space?
Answers:
  1. Independent Euler-Angle curves
  2. Synchronized Euler-Angle curves
  3. Synchronized Quaternion curves
  4. All of the above
47. In the given Image, which one among the marked options represents anisotropic material?
Answers:
  1. A
  2. B
  3. C
  4. None of these
48. Which surface material is used by initial(default) shading group?
Answers:
  1. Phong
  2. Lambert
  3. Blinn
  4. None of the above
Finally, no more words require about the MAYA 7.0 TEST  information in this session of this content. If you require knowing more, Please ask us via our contact us form or the comment box. Please make sure that, you don’t send Personal information via the Comment box. Thanks for Being with us.